diff options
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r-- | tools/perf/util/hist.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index 6f17dcd8412c..2d5203fedb20 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h | |||
@@ -102,8 +102,18 @@ static inline int hists__browse(struct hists *self __used, | |||
102 | { | 102 | { |
103 | return 0; | 103 | return 0; |
104 | } | 104 | } |
105 | static inline int hist_entry__tui_annotate(struct hist_entry *self __used) | ||
106 | { | ||
107 | return 0; | ||
108 | } | ||
109 | #define KEY_LEFT -1 | ||
110 | #define KEY_RIGHT -2 | ||
105 | #else | 111 | #else |
112 | #include <newt.h> | ||
106 | int hists__browse(struct hists *self, const char *helpline, | 113 | int hists__browse(struct hists *self, const char *helpline, |
107 | const char *input_name); | 114 | const char *input_name); |
115 | int hist_entry__tui_annotate(struct hist_entry *self); | ||
116 | #define KEY_LEFT NEWT_KEY_LEFT | ||
117 | #define KEY_RIGHT NEWT_KEY_RIGHT | ||
108 | #endif | 118 | #endif |
109 | #endif /* __PERF_HIST_H */ | 119 | #endif /* __PERF_HIST_H */ |