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

Chen Pei cp0613 at linux.alibaba.com
Thu Oct 8 19:24:22 PDT 2026


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



More information about the linux-riscv mailing list