diff options
author | Jin Yao <[email protected]> | 2020-01-08 03:17:45 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-01-14 12:02:19 -0300 |
commit | c3314a74f86dc00827e0945c8e5039fc3aebaa3c (patch) | |
tree | 69ee3bfb3802e93dcd02a5e121ba4c034a190e88 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3b0b16bf8cb92ae67968c1abb7b335032b899b33 (diff) |
perf report: Fix no libunwind compiled warning break s390 issue
Commit 800d3f561659 ("perf report: Add warning when libunwind not
compiled in") breaks the s390 platform. S390 uses libdw-dwarf-unwind for
call chain unwinding and had no support for libunwind.
So the warning "Please install libunwind development packages during the
perf build." caused the confusion even if the call-graph is displayed
correctly.
This patch adds checking for HAVE_DWARF_SUPPORT, which is set when
libdw-dwarf-unwind is compiled in.
Fixes: 800d3f561659 ("perf report: Add warning when libunwind not compiled in")
Signed-off-by: Jin Yao <[email protected]>
Reviewed-by: Thomas Richter <[email protected]>
Tested-by: Thomas Richter <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jin Yao <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions