On Fri, May 09, 2014 at 12:42:02PM +0200, Bud Millwood wrote: > I think I've located my problem - it's a question of choosing the right > pid. I'm debugging a multi-threaded application, and "ps" doesn't show the > pid for each thread, whereas htop does. Choosing the pid of a specific > thread causes strace to give me the statistics I'm looking for.
By the way, strace -f -p pid attaches to all threads listed in /proc/pid/task/, so you can just use -f option. -- ldv
pgpafXUcQFtdk.pgp
Description: PGP signature
------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
