diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-11-11 19:17:32 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-11-28 07:37:11 -0500 |
commit | d04b35f8085f0d4c5c874515b8f65e7664357148 (patch) | |
tree | 8115d7e30c274756097ce27742338438a14fabd5 /tools/perf/util/hist.h | |
parent | 18b552350515188a732db6ccdb81e9cefb8b58c9 (diff) |
perf symbols: Add nr_events to symbol_conf
Since symbol__alloc_hists need it, to avoid passing it around in many
functions have it in the symbol_conf struct.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-cwv8ysvpywzjq4v3xtbd4zwv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r-- | tools/perf/util/hist.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index c86c1d27bd1e..6676d558b2a7 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h | |||
@@ -119,7 +119,6 @@ int perf_evlist__tui_browse_hists(struct perf_evlist *evlist __used, | |||
119 | 119 | ||
120 | static inline int hist_entry__tui_annotate(struct hist_entry *self __used, | 120 | static inline int hist_entry__tui_annotate(struct hist_entry *self __used, |
121 | int evidx __used, | 121 | int evidx __used, |
122 | int nr_events __used, | ||
123 | void(*timer)(void *arg) __used, | 122 | void(*timer)(void *arg) __used, |
124 | void *arg __used, | 123 | void *arg __used, |
125 | int delay_secs __used) | 124 | int delay_secs __used) |
@@ -130,7 +129,7 @@ static inline int hist_entry__tui_annotate(struct hist_entry *self __used, | |||
130 | #define K_RIGHT -2 | 129 | #define K_RIGHT -2 |
131 | #else | 130 | #else |
132 | #include "ui/keysyms.h" | 131 | #include "ui/keysyms.h" |
133 | int hist_entry__tui_annotate(struct hist_entry *he, int evidx, int nr_events, | 132 | int hist_entry__tui_annotate(struct hist_entry *he, int evidx, |
134 | void(*timer)(void *arg), void *arg, int delay_secs); | 133 | void(*timer)(void *arg), void *arg, int delay_secs); |
135 | 134 | ||
136 | int perf_evlist__tui_browse_hists(struct perf_evlist *evlist, const char *help, | 135 | int perf_evlist__tui_browse_hists(struct perf_evlist *evlist, const char *help, |