aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-sched.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2010-04-23 18:29:40 -0400
committerFrederic Weisbecker <fweisbec@gmail.com>2010-04-23 21:50:42 -0400
commita64eae703b390185abe1d15fa932b48f04fa7fbb (patch)
treef5a38da96d2b49f202064876a970a02729462aeb /tools/perf/builtin-sched.c
parentc61e52ee705f938596d307625dce00cc4345aaf0 (diff)
perf: Use generic sample reordering in perf sched
Use the new generic sample events reordering from perf sched, this drops the need of multiplexing the buffers on record time, improving the scalability of perf sched. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Cc: Ingo Molnar <mingo@elte.hu> Cc: Masami Hiramatsu <mhiramat@redhat.com> Cc: Tom Zanussi <tzanussi@gmail.com>
Diffstat (limited to 'tools/perf/builtin-sched.c')
-rw-r--r--tools/perf/builtin-sched.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
index 09ddc8e6d8e1..94453f1e4e01 100644
--- a/tools/perf/builtin-sched.c
+++ b/tools/perf/builtin-sched.c
@@ -1651,9 +1651,10 @@ static int process_lost_event(event_t *event __used,
1651} 1651}
1652 1652
1653static struct perf_event_ops event_ops = { 1653static struct perf_event_ops event_ops = {
1654 .sample = process_sample_event, 1654 .sample = process_sample_event,
1655 .comm = event__process_comm, 1655 .comm = event__process_comm,
1656 .lost = process_lost_event, 1656 .lost = process_lost_event,
1657 .ordered_samples = true,
1657}; 1658};
1658 1659
1659static int read_events(void) 1660static int read_events(void)
@@ -1850,7 +1851,6 @@ static const char *record_args[] = {
1850 "record", 1851 "record",
1851 "-a", 1852 "-a",
1852 "-R", 1853 "-R",
1853 "-M",
1854 "-f", 1854 "-f",
1855 "-m", "1024", 1855 "-m", "1024",
1856 "-c", "1", 1856 "-c", "1",