diff options
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index b6a2a899aa8f..75183a4518e6 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -244,6 +244,8 @@ static struct perf_event_ops event_ops = { | |||
244 | .event_type = event__process_event_type, | 244 | .event_type = event__process_event_type, |
245 | .tracing_data = event__process_tracing_data, | 245 | .tracing_data = event__process_tracing_data, |
246 | .build_id = event__process_build_id, | 246 | .build_id = event__process_build_id, |
247 | .ordered_samples = true, | ||
248 | .ordering_requires_timestamps = true, | ||
247 | }; | 249 | }; |
248 | 250 | ||
249 | extern volatile int session_done; | 251 | extern volatile int session_done; |
@@ -308,7 +310,7 @@ static int __cmd_report(void) | |||
308 | 310 | ||
309 | signal(SIGINT, sig_handler); | 311 | signal(SIGINT, sig_handler); |
310 | 312 | ||
311 | session = perf_session__new(input_name, O_RDONLY, force, false); | 313 | session = perf_session__new(input_name, O_RDONLY, force, false, &event_ops); |
312 | if (session == NULL) | 314 | if (session == NULL) |
313 | return -ENOMEM; | 315 | return -ENOMEM; |
314 | 316 | ||
@@ -481,6 +483,8 @@ static const struct option options[] = { | |||
481 | "columns '.' is reserved."), | 483 | "columns '.' is reserved."), |
482 | OPT_BOOLEAN('U', "hide-unresolved", &hide_unresolved, | 484 | OPT_BOOLEAN('U', "hide-unresolved", &hide_unresolved, |
483 | "Only display entries resolved to a symbol"), | 485 | "Only display entries resolved to a symbol"), |
486 | OPT_STRING(0, "symfs", &symbol_conf.symfs, "directory", | ||
487 | "Look for files with symbols relative to this directory"), | ||
484 | OPT_END() | 488 | OPT_END() |
485 | }; | 489 | }; |
486 | 490 | ||