summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2023-06-26 23:32:57 -0700
committerNamhyung Kim <namhyung@kernel.org>2023-06-27 12:14:38 -0700
commitad5f604e186ac08d12c401e34ea96c09c38ddbc5 (patch)
tree58b399ac95e92855027b3cdeec4e183700dfd3a9 /usr
parent78987bb02ad29161a75d7c512822232321250d1d (diff)
downloadlinux-ad5f604e186ac08d12c401e34ea96c09c38ddbc5.tar.gz
linux-ad5f604e186ac08d12c401e34ea96c09c38ddbc5.tar.bz2
linux-ad5f604e186ac08d12c401e34ea96c09c38ddbc5.zip
perf test: Fix a compile error on pe-file-parsing.c
The dso__find_symbol_by_name() should be have idx pointer argument. Found during the build-test. $ make build-test ... CC /tmp/tmp.6JwPK1xbWG/tests/pe-file-parsing.o tests/pe-file-parsing.c: In function ‘run_dir’: tests/pe-file-parsing.c:64:15: error: too few arguments to function ‘dso__find_symbol_by_name’ 64 | sym = dso__find_symbol_by_name(dso, "main"); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from tests/pe-file-parsing.c:16: /usr/local/google/home/namhyung/project/linux/tools/perf/util/symbol.h:135:16: note: declared here 135 | struct symbol *dso__find_symbol_by_name(struct dso *dso, const char *name, size_t *idx); | ^~~~~~~~~~~~~~~~~~~~~~~~ Fixes: 259dce914e93 ("perf symbol: Remove symbol_name_rb_node") Acked-by: Ian Rogers <irogers@google.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20230627063257.549005-1-namhyung@kernel.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions