This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This driver supports ARM DMC-620 PMU which does not have Ampere's specific code besides ACPI ID. To display list of events, do perf list and look at belongs to dmc620_x where x is the MCU ID in the system. Example: #perf stat -e dmc620_0/clk_cycle_count/ -C 0 Get perf event for clk_cycle_count counter of MCU 0. Note that above command use "-C 0" to prevent perf rotate events in all CPUs. DMC620 counters are global and not depend on any CPU. CPU 0 is used at it is always on in default configuration. #perf stat -e dmc620_0/clkdiv2_allocate,mask=0x1f,match=0x2f, incr=2,invert=1/ -C 0 The above example shows how to specify mask, match, incr, invert parameters in any counters. Signed-off-by: Tuan Phan <[email protected]>
- Loading branch information