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/util/session.h | |
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/util/session.h')
-rw-r--r-- | tools/perf/util/session.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h index dffaff52ba44..27f4c2dc715b 100644 --- a/tools/perf/util/session.h +++ b/tools/perf/util/session.h | |||
@@ -96,12 +96,14 @@ static inline struct map * | |||
96 | static inline int perf_session__browse_hists(struct rb_root *hists __used, | 96 | static inline int perf_session__browse_hists(struct rb_root *hists __used, |
97 | u64 nr_hists __used, | 97 | u64 nr_hists __used, |
98 | u64 session_total __used, | 98 | u64 session_total __used, |
99 | const char *helpline __used) | 99 | const char *helpline __used, |
100 | const char *input_name __used) | ||
100 | { | 101 | { |
101 | return 0; | 102 | return 0; |
102 | } | 103 | } |
103 | #else | 104 | #else |
104 | int perf_session__browse_hists(struct rb_root *hists, u64 nr_hists, | 105 | int perf_session__browse_hists(struct rb_root *hists, u64 nr_hists, |
105 | u64 session_total, const char *helpline); | 106 | u64 session_total, const char *helpline, |
107 | const char *input_name); | ||
106 | #endif | 108 | #endif |
107 | #endif /* __PERF_SESSION_H */ | 109 | #endif /* __PERF_SESSION_H */ |