aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-12-22 05:54:50 -0500
committerIngo Molnar <mingo@elte.hu>2010-12-22 05:54:50 -0500
commit8c1df4002aa425973d7d25ffa56c042acd953bed (patch)
tree441e39bf3a43bb3e4c4965ed2081b9bb90edd1ea /tools/perf/builtin-report.c
parent6c529a266bdc590a870ee2d2092ff6527eff427b (diff)
parent21dd9ae5a4e9f717f3957ec934dd3158129436b8 (diff)
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/core
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c6
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
249extern volatile int session_done; 251extern 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