diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-04-03 10:54:35 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-04-03 10:54:35 -0400 |
commit | 533c46c31c0e82f19dbb087c77d85eaccd6fefdb (patch) | |
tree | 3f98f3e2b8aa51f33b8edef449ec718f93b2deb9 /tools/perf/builtin-report.c | |
parent | e65713ea1e61e92d28284a55df2aa039ebe10003 (diff) |
perf newt: Pass the input_name to perf_session__browse_hists
So that it can use it in the 'perf annotate' command line, otherwise
it'll use the default and not the specified -i filename passed to 'perf
report'.
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 6615e09e336..e93c69a8e72 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -313,7 +313,8 @@ static int __cmd_report(void) | |||
313 | stats->stats.total); | 313 | stats->stats.total); |
314 | if (use_browser) | 314 | if (use_browser) |
315 | perf_session__browse_hists(&stats->hists, nr_hists, | 315 | perf_session__browse_hists(&stats->hists, nr_hists, |
316 | stats->stats.total, help); | 316 | stats->stats.total, help, |
317 | input_name); | ||
317 | else { | 318 | else { |
318 | if (rb_first(&session->stats_by_id) == | 319 | if (rb_first(&session->stats_by_id) == |
319 | rb_last(&session->stats_by_id)) | 320 | rb_last(&session->stats_by_id)) |