diff options
author | Ionela Voinescu <[email protected]> | 2020-11-06 12:53:33 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2020-11-13 20:05:10 +0000 |
commit | bc3b6562a1acc1f43ae84c7d69428cdd8ae1390e (patch) | |
tree | 07f11653b60d4a32efb963a0f8225eec348abc0b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 4b9cf23c179a27659a95c094ace658bb92f146e5 (diff) |
arm64: split counter validation function
In order for the counter validation function to be reused, split
validate_cpu_freq_invariance_counters() into:
- freq_counters_valid(cpu) - check cpu for valid cycle counters
- freq_inv_set_max_ratio(int cpu, u64 max_rate, u64 ref_rate) -
generic function that sets the normalization ratio used by
topology_scale_freq_tick()
Signed-off-by: Ionela Voinescu <[email protected]>
Reviewed-by: Sudeep Holla <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions