From: Arnaldo Carvalho de Melo Date: Fri, 22 Nov 2019 15:44:10 +0000 (-0300) Subject: perf map: Ditch leftover map__reloc_vmlinux() prototype X-Git-Tag: v5.10.7~3746^2^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40df3897f0867f2e3700b4f216698288495053ef;p=platform%2Fkernel%2Flinux-rpi.git perf map: Ditch leftover map__reloc_vmlinux() prototype In 39b12f781271 ("perf tools: Make it possible to read object code from vmlinux") the actual function was removed, but we forgot to remove the prototype, fix it. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-35yy50cgpcx8cjorluwd5j53@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/map.h b/tools/perf/util/map.h index 1f110b5..c0dffa9 100644 --- a/tools/perf/util/map.h +++ b/tools/perf/util/map.h @@ -144,8 +144,6 @@ struct symbol *map__find_symbol_by_name(struct map *map, const char *name); void map__fixup_start(struct map *map); void map__fixup_end(struct map *map); -void map__reloc_vmlinux(struct map *map); - int map__set_kallsyms_ref_reloc_sym(struct map *map, const char *symbol_name, u64 addr);