* user-space tracing of multi-threaded apps
@ 2013-05-06 11:02 Aryeh Weinreb
2013-05-06 11:33 ` Frank Ch. Eigler
0 siblings, 1 reply; 3+ messages in thread
From: Aryeh Weinreb @ 2013-05-06 11:02 UTC (permalink / raw)
To: systemtap
Hi,
When I do process(PATH).function("*") for a running process only the
main thread is probed.
I would expect it to probe any task with the specified command name.
This I can acheive only when I start the probe before the threads are created.
Is this the expected behavior?
Is there a way to probe all threads of a running process?
Thanks,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: user-space tracing of multi-threaded apps
2013-05-06 11:02 user-space tracing of multi-threaded apps Aryeh Weinreb
@ 2013-05-06 11:33 ` Frank Ch. Eigler
2013-05-06 12:22 ` Aryeh Weinreb
0 siblings, 1 reply; 3+ messages in thread
From: Frank Ch. Eigler @ 2013-05-06 11:33 UTC (permalink / raw)
To: Aryeh Weinreb; +Cc: systemtap
Aryeh Weinreb <weinrea@gmail.com> writes:
> When I do process(PATH).function("*") for a running process only the
> main thread is probed.
This might relate to bug http://sourceware.org/PR12642 that was fixed
in release 2.1.
- FChE
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: user-space tracing of multi-threaded apps
2013-05-06 11:33 ` Frank Ch. Eigler
@ 2013-05-06 12:22 ` Aryeh Weinreb
0 siblings, 0 replies; 3+ messages in thread
From: Aryeh Weinreb @ 2013-05-06 12:22 UTC (permalink / raw)
To: Frank Ch. Eigler; +Cc: systemtap
Yes that's it. Thanks!
On Mon, May 6, 2013 at 2:32 PM, Frank Ch. Eigler <fche@redhat.com> wrote:
> Aryeh Weinreb <weinrea@gmail.com> writes:
>
>> When I do process(PATH).function("*") for a running process only the
>> main thread is probed.
>
> This might relate to bug http://sourceware.org/PR12642 that was fixed
> in release 2.1.
>
> - FChE
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-06 12:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-06 11:02 user-space tracing of multi-threaded apps Aryeh Weinreb
2013-05-06 11:33 ` Frank Ch. Eigler
2013-05-06 12:22 ` Aryeh Weinreb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).