]> git.itanic.dy.fi Git - linux-stable/commit
perf annotate: Ensure init/exit for global options
authorNamhyung Kim <namhyung@kernel.org>
Tue, 28 Nov 2023 17:54:39 +0000 (09:54 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 Dec 2023 20:18:24 +0000 (17:18 -0300)
commit7f929aea21fd0be5e0d9ee5827d5b809daa69f29
tree0ad972fea7ee9e973e9acfb762a5bb428b71168f
parent22197fb296913f83c7182befd2a8b23bf042f279
perf annotate: Ensure init/exit for global options

Now it only cares about the global options so it can just handle it
without the argument.

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-7-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/builtin-top.c
tools/perf/util/annotate.c
tools/perf/util/annotate.h