summaryrefslogtreecommitdiff
path: root/tools/perf/util/session.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-04-03 14:54:35 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-04-03 14:54:35 (GMT)
commit533c46c31c0e82f19dbb087c77d85eaccd6fefdb (patch)
tree3f98f3e2b8aa51f33b8edef449ec718f93b2deb9 /tools/perf/util/session.h
parente65713ea1e61e92d28284a55df2aa039ebe10003 (diff)
downloadlinux-fsl-qoriq-533c46c31c0e82f19dbb087c77d85eaccd6fefdb.tar.xz
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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h
index dffaff5..27f4c2d 100644
--- a/tools/perf/util/session.h
+++ b/tools/perf/util/session.h
@@ -96,12 +96,14 @@ static inline struct map *
static inline int perf_session__browse_hists(struct rb_root *hists __used,
u64 nr_hists __used,
u64 session_total __used,
- const char *helpline __used)
+ const char *helpline __used,
+ const char *input_name __used)
{
return 0;
}
#else
int perf_session__browse_hists(struct rb_root *hists, u64 nr_hists,
- u64 session_total, const char *helpline);
+ u64 session_total, const char *helpline,
+ const char *input_name);
#endif
#endif /* __PERF_SESSION_H */