]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf/x86/amd/uncore: Add parameter to configure hrtimer
authorSandipan Das <sandipan.das@amd.com>
Fri, 18 Apr 2025 03:43:02 +0000 (09:13 +0530)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 Apr 2025 08:35:33 +0000 (10:35 +0200)
commite1ed37b70fb355abf2e8032a2e972cdba53ae93c
treecfe25776a89590d6768039c7dc81ab9838bb72d9
parent6d937e044bc9bfd52dc50f7fc06d22018841472e
perf/x86/amd/uncore: Add parameter to configure hrtimer

Introduce a module parameter for configuring the hrtimer duration in
milliseconds. The default duration is 60000 milliseconds and the intent
is to allow users to customize it to suit jitter tolerances. It should
be noted that a longer duration will reduce jitter but affect accuracy
if the programmed events cause the counters to overflow multiple times
in a single interval.

Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/6cb0101da74955fa9c8361f168ffdf481ae8a200.1744906694.git.sandipan.das@amd.com
arch/x86/events/amd/uncore.c