From: Frederic Weisbecker Date: Fri, 23 Apr 2010 22:38:33 +0000 (+0200) Subject: perf: Use generic sample reordering in perf trace X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e0a808c65c23f88e48a5fff48775b90e7919c64f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git perf: Use generic sample reordering in perf trace Use the new generic sample events reordering from perf trace. Before that, the displayed traces were ordered as they were in the input as recorded by perf record (not time ordered). This makes eventually perf trace displaying the events as beeing time ordered. Signed-off-by: Frederic Weisbecker Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Paul Mackerras Cc: Hitoshi Mitake Cc: Ingo Molnar Cc: Masami Hiramatsu Cc: Tom Zanussi --- diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 2eefb33c9679..1d034f6fa28a 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c @@ -108,6 +108,7 @@ static struct perf_event_ops event_ops = { .event_type = event__process_event_type, .tracing_data = event__process_tracing_data, .build_id = event__process_build_id, + .ordered_samples = true, }; extern volatile int session_done;