strace -f pthread-app

Paul Albrecht (palbrecht@uswest.net)
Thu, 22 May 2003 10:55:04 -0700


When I strace a pthreaded program with the follow fork option the threads
get serialized, e.g., if I start threads A and B in my program, thread A
gets interrupted and thread B runs uninterrupted to completion, then A
starts up again and runs to completion. Has any one else noticed this
behavior? Is there a way to strace -f a multithreaded program with
concurrency?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/