Package: strace
Version: 4.5.14-1
Severity: normal

It would seem that unless one adds -f to the strace command line, tracing
a multi-threaded program will show nothing.  At least when that multi-threaded
program (in this case named 9.3.2 from isc.org) has a main thread that does
nothing while the rest of the threads do work.  So one has to do:

strace -f -p <pid>

rather than the intuitive (?)

strace -p <pid>

similarly, if one just wants counts:

strace -c <pid> 

does not seem to work in this case.

the strace manpage only talks about following forks in regards to the -f 
option, it makes no mention of threads.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: ia64
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-mckinley-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages strace depends on:
ii  libc6.1                       2.3.6-6    GNU C Library: Shared libraries

strace recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to