The package required for dwarf is named libdwarf-devel, rather
than elfutils-devel.
This patch corrects the package name in warning message in
feature-dwarf checking.
Signed-off-by: Dongsheng Yang <yangds.fnst@xxxxxxxxxxxxxx>
---
tools/perf/config/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index c234182..6b52134 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -285,11 +285,11 @@ else
ifndef NO_LIBDW_DWARF_UNWIND
ifneq ($(feature-libdw-dwarf-unwind),1)
NO_LIBDW_DWARF_UNWIND := 1
- msg := $(warning No libdw DWARF unwind found, Please install elfutils-devel/libdw-dev >= 0.158 and/or set LIBDW_DIR);
+ msg := $(warning No libdw DWARF unwind found, Please install libdwarf-devel/libdw-dev >= 0.158 and/or set LIBDW_DIR);
endif
endif
ifneq ($(feature-dwarf), 1)
- msg := $(warning No libdw.h found or old libdw.h found or elfutils is older than 0.138, disables dwarf support. Please install new elfutils-devel/libdw-dev);
+ msg := $(warning No libdw.h found or old libdw.h found or libdwarf-devel is older than 0.138, disables dwarf support. Please install new libdwarf-devel/libdw-dev);
NO_DWARF := 1
endif # Dwarf support
endif # libelf support