aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r--tools/perf/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 5216ade909d0..f9126f89efef 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -45,6 +45,8 @@ include config/utilities.mak
45# 45#
46# Define NO_LIBUNWIND if you do not want libunwind dependency for dwarf 46# Define NO_LIBUNWIND if you do not want libunwind dependency for dwarf
47# backtrace post unwind. 47# backtrace post unwind.
48#
49# Define NO_BACKTRACE if you do not want stack backtrace debug feature
48 50
49$(OUTPUT)PERF-VERSION-FILE: .FORCE-PERF-VERSION-FILE 51$(OUTPUT)PERF-VERSION-FILE: .FORCE-PERF-VERSION-FILE
50 @$(SHELL_PATH) util/PERF-VERSION-GEN $(OUTPUT) 52 @$(SHELL_PATH) util/PERF-VERSION-GEN $(OUTPUT)
@@ -749,11 +751,9 @@ ifndef NO_STRLCPY
749 endif 751 endif
750endif 752endif
751 753
752ifdef NO_BACKTRACE 754ifndef NO_BACKTRACE
753 BASIC_CFLAGS += -DNO_BACKTRACE 755 ifeq ($(call try-cc,$(SOURCE_BACKTRACE),),y)
754else 756 BASIC_CFLAGS += -DBACKTRACE_SUPPORT
755 ifneq ($(call try-cc,$(SOURCE_BACKTRACE),),y)
756 BASIC_CFLAGS += -DNO_BACKTRACE
757 endif 757 endif
758endif 758endif
759 759