aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-10-28 12:36:19 -0700
committerNamhyung Kim <namhyung@kernel.org>2024-11-04 11:32:35 -0800
commit13e17c9ff49119aa2826dbf1e130f34d4d7a55d9 (patch)
treefe05f24833abadf657695cdf9a6b69504a03ad41 /tools/perf/util/trace-event-scripting.c
parentaa5c90601b531323f82ceb02b41a66974153b76f (diff)
downloadlinux-13e17c9ff49119aa2826dbf1e130f34d4d7a55d9.tar.gz
linux-13e17c9ff49119aa2826dbf1e130f34d4d7a55d9.tar.bz2
linux-13e17c9ff49119aa2826dbf1e130f34d4d7a55d9.zip
perf build: Make libunwind opt-in rather than opt-out
Having multiple unwinding libraries makes the perf code harder to understand and we have unused/untested code paths. Perf made BPF support an opt-out rather than opt-in feature. As libbpf has a libelf dependency, elfutils that provides libelf will also provide libdw. When libdw is present perf will use libdw unwinding rather than libunwind unwinding even if libunwind support is compiled in. Rather than have libunwind built into perf and never used, explicitly disable the support and make it opt-in. Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Link: https://lore.kernel.org/r/20241028193619.247727-1-irogers@google.com Closes: https://lore.kernel.org/linux-perf-users/CAP-5=fUXkp-d7gkzX4eF+nbjb2978dZsiHZ9abGHN=BN1qAcbg@mail.gmail.com/ Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions