projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec4622f
)
perf sched: Handle PERF_RECORD_EXIT events
author
Arnaldo Carvalho de Melo
<
[email protected]
>
Sat, 6 Oct 2012 18:53:41 +0000
(15:53 -0300)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Sat, 6 Oct 2012 19:34:03 +0000
(16:34 -0300)
Noticed sched wasn't handling those events while introducing
perf_event__process_{fork,exit}.
Cc: David Ahern <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Stephane Eranian <
[email protected]
>
Link:
http://lkml.kernel.org/n/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/builtin-sched.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-sched.c
b/tools/perf/builtin-sched.c
index 3a25cd83b56e7c4322c0711e2375f59dd3965a56..30e53360d3c22e536d66539282d4db1b8736638d 100644
(file)
--- a/
tools/perf/builtin-sched.c
+++ b/
tools/perf/builtin-sched.c
@@
-1672,6
+1672,7
@@
int cmd_sched(int argc, const char **argv, const char *prefix __maybe_unused)
.sample = perf_sched__process_tracepoint_sample,
.comm = perf_event__process_comm,
.lost = perf_event__process_lost,
+ .exit = perf_event__process_exit,
.fork = perf_event__process_fork,
.ordered_samples = true,
},