aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJames Clark <[email protected]>2024-01-23 16:39:01 +0000
committerNamhyung Kim <[email protected]>2024-01-24 22:13:48 +0000
commitb58ab8ac75ab6274e077cba2feb2024aacc4cf0a (patch)
tree5bd2778043665081cfe43c72f4de5ed22005889b /tools/perf/util/scripting-engines/trace-event-python.c
parentperf evlist: Fix evlist__new_default() for > 1 core PMU (diff)
downloadkernel-b58ab8ac75ab6274e077cba2feb2024aacc4cf0a.tar.gz
kernel-b58ab8ac75ab6274e077cba2feb2024aacc4cf0a.zip
perf version: Display availability of HAVE_DWARF_UNWIND_SUPPORT
Even though unwinding depends on either HAVE_DWARF_SUPPORT or HAVE_LIBUNWIND, scripts testing unwinding can't just look for the existence of either of those flags. This is because NO_LIBDW_DWARF_UNWIND=1 can disable unwinding with libdw, but libdw will still be linked leaving HAVE_DWARF_SUPPORT turned on. Presumably because it is used for things other than unwinding, so I don't think this needs to be fixed. HAVE_DWARF_UNWIND_SUPPORT already takes the combination of all those things into account, and is used to gate the built in tests like "Test dwarf unwind", so add it to the feature list output so that it can be used by the script tests too. Signed-off-by: James Clark <[email protected]> Reviewed-by: Ian Rogers <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Spoorthy S <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Athira Rajeev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions