Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf build: Don't add NO_AUXTRACE if missing feature-get_cpuid

The intel-pt code dependent on __get_cpuid is no longer present so
remove the feature test in the Makefile.config.

Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>

authored by

Ian Rogers and committed by
Namhyung Kim
2566bbfc 8933c624

+2 -10
+2 -10
tools/perf/Makefile.config
··· 1114 1114 endif 1115 1115 1116 1116 ifndef NO_AUXTRACE 1117 - ifeq ($(SRCARCH),x86) 1118 - ifeq ($(feature-get_cpuid), 0) 1119 - $(warning Your gcc lacks the __get_cpuid() builtin, disables support for auxtrace/Intel PT, please install a newer gcc) 1120 - NO_AUXTRACE := 1 1121 - endif 1122 - endif 1123 - ifndef NO_AUXTRACE 1124 - $(call detected,CONFIG_AUXTRACE) 1125 - CFLAGS += -DHAVE_AUXTRACE_SUPPORT 1126 - endif 1117 + $(call detected,CONFIG_AUXTRACE) 1118 + CFLAGS += -DHAVE_AUXTRACE_SUPPORT 1127 1119 endif 1128 1120 1129 1121 ifdef EXTRA_TESTS