]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
perf build: Don't add NO_AUXTRACE if missing feature-get_cpuid
authorIan Rogers <irogers@google.com>
Mon, 10 Nov 2025 01:31:49 +0000 (17:31 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 14 Nov 2025 07:03:11 +0000 (23:03 -0800)
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>
tools/perf/Makefile.config

index 5700516aa84aec2cd482f1ad767689bba0110e5e..5decc3d5fef877459bfeab18d1c5cf12faf5f226 100644 (file)
@@ -1114,16 +1114,8 @@ ifndef NO_CAPSTONE
 endif
 
 ifndef NO_AUXTRACE
-  ifeq ($(SRCARCH),x86)
-    ifeq ($(feature-get_cpuid), 0)
-      $(warning Your gcc lacks the __get_cpuid() builtin, disables support for auxtrace/Intel PT, please install a newer gcc)
-      NO_AUXTRACE := 1
-    endif
-  endif
-  ifndef NO_AUXTRACE
-    $(call detected,CONFIG_AUXTRACE)
-    CFLAGS += -DHAVE_AUXTRACE_SUPPORT
-  endif
+  $(call detected,CONFIG_AUXTRACE)
+  CFLAGS += -DHAVE_AUXTRACE_SUPPORT
 endif
 
 ifdef EXTRA_TESTS