aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-sched.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-09-14 02:57:15 -0400
committerIngo Molnar <mingo@elte.hu>2009-09-14 03:52:23 -0400
commitd13025222cdb0043e2239b3b819389358bb31bc0 (patch)
tree9bac1060f41da9f2d35f194749428a23dde8290c /tools/perf/builtin-sched.c
parentf977bb4937857994312fff4f9c2cad336a36a932 (diff)
perf tools: Add an option to multiplex counters in a single channel
Add an option to multiplex counters output in the channel of the group leader, ie: the first counter opened: -M --multiplex The effect is better serialized samples. This is especially useful for tracepoint samples that need to be well serialized for their post-processing. Also make use of this option in 'perf sched'. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-sched.c')
-rw-r--r--tools/perf/builtin-sched.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
index 8db0fd222f80..686af633b35b 100644
--- a/tools/perf/builtin-sched.c
+++ b/tools/perf/builtin-sched.c
@@ -1660,6 +1660,8 @@ static const char *record_args[] = {
1660 "record", 1660 "record",
1661 "-a", 1661 "-a",
1662 "-R", 1662 "-R",
1663 "-M",
1664 "-g",
1663 "-c", "1", 1665 "-c", "1",
1664 "-e", "sched:sched_switch:r", 1666 "-e", "sched:sched_switch:r",
1665 "-e", "sched:sched_stat_wait:r", 1667 "-e", "sched:sched_stat_wait:r",