Re: [PATCH 2/2] perf tsc: Replace the compile-time TSC support check with a weak hook
From: Chen Pei
Date: Mon Sep 28 2026 - 23:52:56 EST
Hi Leo,
Thanks a lot for the review.
> Just a bit on refactoring. You could refer to the implementation of
> PERF_HAVE_JITDUMP in arch Makefile and "CFLAGS += -DHAVE_JITDUMP" and
> do similiar thing for rdtsc.
>
> Seems to me, we can just use build system for configurations.
Makes sense, I'll change it that way in v2, thanks for pointing at the
existing pattern.
Best regards,
Pei