From: Ian Rogers Date: Mon, 3 Apr 2023 21:10:20 +0000 (-0700) Subject: perf build: Allow C++ demangle without libelf X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3ad45105dc44ca8419441032760c04d81504c0e6;p=linux.git perf build: Allow C++ demangle without libelf The cxa demangle support isn't dependent on libelf and so we no longer need to disable demangling if libelf isn't present. Signed-off-by: Ian Rogers Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Andrii Nakryiko Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Link: https://lore.kernel.org/r/20230403211021.1892231-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index fd1be9596d12a..16bea51f0bcd9 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -412,7 +412,6 @@ endif ifdef NO_LIBELF NO_DWARF := 1 - NO_DEMANGLE := 1 NO_LIBUNWIND := 1 NO_LIBDW_DWARF_UNWIND := 1 NO_LIBBPF := 1