aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIonela Voinescu <[email protected]>2020-11-06 12:53:32 +0000
committerCatalin Marinas <[email protected]>2020-11-13 20:05:10 +0000
commit4b9cf23c179a27659a95c094ace658bb92f146e5 (patch)
tree6f58d2c1e5ec88249d376f6af9e0accb39512183 /tools/perf/util/scripting-engines/trace-event-python.c
parentf8394f232b1eab649ce2df5c5f15b0e528c92091 (diff)
arm64: wrap and generalise counter read functions
In preparation for other uses of Activity Monitors (AMU) cycle counters, place counter read functionality in generic functions that can reused: read_corecnt() and read_constcnt(). As a result, implement update_freq_counters_refs() to replace init_cpu_freq_invariance_counters() and both initialise and update the per-cpu reference variables. 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