linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to trace threads created by a process after perf has started recording, using the -p PID flag?
@ 2012-08-25 12:52 Mikolaj Konarski
       [not found] ` <CAKYOsXwF-Rk97BEWk_fEHhfVisPy_q439tdx7H9onAOyFi=-uA@mail.gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Mikolaj Konarski @ 2012-08-25 12:52 UTC (permalink / raw)
  To: linux-perf-users; +Cc: Bernie Pope, Duncan Coutts

Hi,

Could someone clarify the behaviour of the -p PID flag of perf-record?
In our experiments (3.2.0-27 #43-Ubuntu SMP x86_64),
it ignores events on threads spawned after perf-record is started.
Is this the intended behaviour, and is there any work-around?

Generally, what is the best (vs CPU/IO, distortion of profiling results)
way to record only events of a given OS process, with all its threads?

Thanks a lot,
Mikolaj

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-09-24  4:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAJgLYc+dMADVBkbPq1wJFptcx63UUSg24DDM5BbYSWW2bDV+tg@mail.gmail.com>
2012-08-26  4:56 ` How to trace threads created by a process after perf has started recording, using the -p PID flag? chenggang qin
2012-08-25 12:52 Mikolaj Konarski
     [not found] ` <CAKYOsXwF-Rk97BEWk_fEHhfVisPy_q439tdx7H9onAOyFi=-uA@mail.gmail.com>
2012-09-03 22:17   ` Mikolaj Konarski
2012-09-04  6:47     ` Namhyung Kim
2012-09-04 16:04     ` David Ahern
2012-09-22  7:58       ` Mikolaj Konarski
2012-09-22 18:39         ` David Ahern
2012-09-22 19:57           ` Mikolaj Konarski
2012-09-24  4:31             ` David Ahern

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 NNTP newsgroup(s).