Re: [PATCH v2 2/2] perf tsc: Declare TSC support from the build system

From: Chen Pei

Date: Thu Oct 08 2026 - 22:25:36 EST


Hi Adrian,

On Tue, 6 Oct 2026, Adrian Hunter wrote:
> Perhaps with #include <tools/config.h> the following is tidier:
>
> if (!IS_BUILTIN(HAVE_RDTSC)) {
> pr_debug("Test not supported on this architecture\n");
> return TEST_SKIP;
> }

Thanks for the review. I'll change it as suggested and post v3.

Best regards,
Pei