diff options
| author | Frederic Weisbecker <[email protected]> | 2013-09-11 14:18:24 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-11-04 14:57:06 +0000 |
| commit | 162f0befda3becc2cc9f44075fccc030e55baec1 (patch) | |
| tree | 5f8ea7a9a2fcb28d1ab742e73a56497c078a33f9 /tools/perf/builtin-script.c | |
| parent | perf tools: Use an accessor to read thread comm (diff) | |
| download | kernel-162f0befda3becc2cc9f44075fccc030e55baec1.tar.gz kernel-162f0befda3becc2cc9f44075fccc030e55baec1.zip | |
perf tools: Add time argument on COMM setting
This way we can later delimit a lifecycle for the COMM and map a hist to
a precise COMM:timeslice couple.
PERF_RECORD_COMM and PERF_RECORD_FORK events that don't have
PERF_SAMPLE_TIME samples can only send 0 value as a timestamp and thus
should overwrite any previous COMM on a given thread because there is no
sensible way to keep track of all the comms lifecycles in a thread
without time informations.
Signed-off-by: Frederic Weisbecker <[email protected]>
Tested-by: Jiri Olsa <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
[ Made it cope with PERF_RECORD_MMAP2 ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
