From 2566bbfc0a042feadeb0bea1f1f4b2b13f91c664 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Sun, 9 Nov 2025 17:31:49 -0800 Subject: [PATCH] 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 Reviewed-by: James Clark Signed-off-by: Namhyung Kim --- tools/perf/Makefile.config | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index 5700516aa84ae..5decc3d5fef87 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -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 -- 2.47.3