aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r--tools/perf/builtin-annotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c
index 03cfa592071f..17c6b494e8cc 100644
--- a/tools/perf/builtin-annotate.c
+++ b/tools/perf/builtin-annotate.c
@@ -118,11 +118,11 @@ static int hist_entry__tty_annotate(struct hist_entry *he,
118 ann->print_line, ann->full_paths, 0, 0); 118 ann->print_line, ann->full_paths, 0, 0);
119} 119}
120 120
121static void hists__find_annotations(struct hists *self, 121static void hists__find_annotations(struct hists *hists,
122 struct perf_evsel *evsel, 122 struct perf_evsel *evsel,
123 struct perf_annotate *ann) 123 struct perf_annotate *ann)
124{ 124{
125 struct rb_node *nd = rb_first(&self->entries), *next; 125 struct rb_node *nd = rb_first(&hists->entries), *next;
126 int key = K_RIGHT; 126 int key = K_RIGHT;
127 127
128 while (nd) { 128 while (nd) {