aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2010-06-01 00:03:40 +0200
committerFrederic Weisbecker <[email protected]>2010-06-01 00:10:32 +0200
commitaf64865ba6825e10fe62a3105fea5cadffeb52c6 (patch)
treeab3f0248fdf2d2b14794ddb19bb5202073e21861 /tools/perf/util/trace-event-scripting.c
parent13eb04fdbeb9d21dfe4696630daefe18ef6a1a84 (diff)
perf: Use event__process_task from perf sched
perf sched uses event__process_comm(), which means it can resolve comms from: - tasks that have exec'ed (kernel comm events) - tasks that were running when perf record started the actual recording (synthetized comm events) But perf sched can't resolve the pids of tasks that were created after the recording started. To solve this, we need to inherit the comms on fork events using event__process_task(). This fixes various unresolved pids in perf sched, easily visible with: perf sched record perf bench sched messaging Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Tom Zanussi <[email protected]> Cc: Stephane Eranian <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions