]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf intel-pt: Use the perf provided "cpuid.h"
authorIan Rogers <irogers@google.com>
Mon, 10 Nov 2025 01:31:48 +0000 (17:31 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 14 Nov 2025 07:03:11 +0000 (23:03 -0800)
commit8933c624d9c793eed8fa778add30fa50fd8ef4d7
tree0b800a277bf86775f7e142894af3e9b5d8825e42
parentfc9c17b2235256445b28b06b6dba1709f870b3c4
perf intel-pt: Use the perf provided "cpuid.h"

Rather than having a feature test and include of <cpuid.h> for the
__get_cpuid function, use the cpuid function provided by
tools/perf/arch/x86/util/cpuid.h.

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/arch/x86/tests/intel-pt-test.c
tools/perf/arch/x86/util/intel-pt.c