summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2023-11-28 18:54:38 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-12-07 21:18:06 +0100
commit22197fb296913f83c7182befd2a8b23bf042f279 (patch)
treedd951c774c109623b56e1c4160be90f6cd8f6c03 /tools/perf/builtin-annotate.c
parentperf annotate: Use global annotation_options (diff)
downloadlinux-22197fb296913f83c7182befd2a8b23bf042f279.tar.xz
linux-22197fb296913f83c7182befd2a8b23bf042f279.zip
perf ui/browser/annotate: Use global annotation_options
Now it can use the global options and no need save local browser options separately. Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20231128175441.721579-6-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r--tools/perf/builtin-annotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c
index 9c1e2b2b5bc0..d17213bd8332 100644
--- a/tools/perf/builtin-annotate.c
+++ b/tools/perf/builtin-annotate.c
@@ -381,7 +381,7 @@ find_next:
/* skip missing symbols */
nd = rb_next(nd);
} else if (use_browser == 1) {
- key = hist_entry__tui_annotate(he, evsel, NULL, &annotate_opts);
+ key = hist_entry__tui_annotate(he, evsel, NULL);
switch (key) {
case -1: