Commit ca559503 authored by Kan Liang's avatar Kan Liang Committed by Ingo Molnar
Browse files

perf/core: Add the is_event_in_freq_mode() helper to simplify the code



Add a helper to check if an event is in freq mode to improve readability.

No functional changes.

Signed-off-by: default avatarKan Liang <kan.liang@linux.intel.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250516182853.2610284-2-kan.liang@linux.intel.com
parent 75a9001b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment