diff options
Diffstat (limited to 'tools/perf/util/session.h')
-rw-r--r-- | tools/perf/util/session.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h index 46190f94b547..ce00fa6cdeda 100644 --- a/tools/perf/util/session.h +++ b/tools/perf/util/session.h | |||
@@ -102,21 +102,6 @@ int perf_session__create_kernel_maps(struct perf_session *self); | |||
102 | int do_read(int fd, void *buf, size_t size); | 102 | int do_read(int fd, void *buf, size_t size); |
103 | void perf_session__update_sample_type(struct perf_session *self); | 103 | void perf_session__update_sample_type(struct perf_session *self); |
104 | 104 | ||
105 | #ifdef NO_NEWT_SUPPORT | ||
106 | static inline int perf_session__browse_hists(struct rb_root *hists __used, | ||
107 | u64 nr_hists __used, | ||
108 | u64 session_total __used, | ||
109 | const char *helpline __used, | ||
110 | const char *input_name __used) | ||
111 | { | ||
112 | return 0; | ||
113 | } | ||
114 | #else | ||
115 | int perf_session__browse_hists(struct rb_root *hists, u64 nr_hists, | ||
116 | u64 session_total, const char *helpline, | ||
117 | const char *input_name); | ||
118 | #endif | ||
119 | |||
120 | static inline | 105 | static inline |
121 | struct machine *perf_session__find_host_machine(struct perf_session *self) | 106 | struct machine *perf_session__find_host_machine(struct perf_session *self) |
122 | { | 107 | { |