diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2009-08-11 16:22:00 -0300 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-08-12 14:10:48 +0200 |
| commit | 2a8083f063472f27c253545dd64e1a7bbbb1ab61 (patch) | |
| tree | 78c20465589a102a4c28357c8207ea3366cfff69 /scripts | |
| parent | f64ccccb8afa43abdd63fcbd230f818d6ea0883f (diff) | |
perf record: Fix .tid and .pid fill-in when synthesizing events
Noticed when trying to record events for a firefox thread. We
were synthesizing both .tid and .pid with the pid passed via
--pid.
Fix it by reading /proc/PID/status and getting the tgid
to use in .pid, .tid gets the specified "pid".
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions