mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user