diff options
author | Namhyung Kim <namhyung@kernel.org> | 2024-04-05 14:18:00 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2024-04-12 12:02:05 -0300 |
commit | 0235abd89feaf29fe67d3abbe2c18b7119503537 (patch) | |
tree | d0d40f901090a98aad06a3466e232c11f5e9eb25 /tools/perf/tests/code-reading.c | |
parent | 879ebf3c830dba437781d034c536af53b0bff0c0 (diff) | |
download | linux-0235abd89feaf29fe67d3abbe2c18b7119503537.tar.gz linux-0235abd89feaf29fe67d3abbe2c18b7119503537.tar.bz2 linux-0235abd89feaf29fe67d3abbe2c18b7119503537.zip |
perf annotate: Get rid of symbol__ensure_annotate()
Now symbol__annotate() is reentrant and it doesn't need to remove
non-instruction lines. Let's get rid of symbol__ensure_annotate() and
call symbol__annotate() directly. Also we can use it to get the arch
pointer instead of calling evsel__get_arch() directly.
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: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240405211800.1412920-5-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/code-reading.c')
0 files changed, 0 insertions, 0 deletions