Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a64eae70 authored by Frederic Weisbecker's avatar Frederic Weisbecker
Browse files

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: default avatarFrederic 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>
parent c61e52ee
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -1654,6 +1654,7 @@ static struct perf_event_ops event_ops = {
	.sample			= process_sample_event,
	.sample			= process_sample_event,
	.comm			= event__process_comm,
	.comm			= event__process_comm,
	.lost			= process_lost_event,
	.lost			= process_lost_event,
	.ordered_samples	= true,
};
};


static int read_events(void)
static int read_events(void)
@@ -1850,7 +1851,6 @@ static const char *record_args[] = {
	"record",
	"record",
	"-a",
	"-a",
	"-R",
	"-R",
	"-M",
	"-f",
	"-f",
	"-m", "1024",
	"-m", "1024",
	"-c", "1",
	"-c", "1",