arm_dsu_pmu.txt 1.2 KB

12345678910111213141516171819202122232425262728
  1. ARM DynamIQ Shared Unit (DSU) PMU
  2. ==================================
  3. ARM DynamIQ Shared Unit integrates one or more cores with an L3 memory system,
  4. control logic and external interfaces to form a multicore cluster. The PMU
  5. allows counting the various events related to the L3 cache, Snoop Control Unit
  6. etc, using 32bit independent counters. It also provides a 64bit cycle counter.
  7. The PMU can only be accessed via CPU system registers and are common to the
  8. cores connected to the same DSU. Like most of the other uncore PMUs, DSU
  9. PMU doesn't support process specific events and cannot be used in sampling mode.
  10. The DSU provides a bitmap for a subset of implemented events via hardware
  11. registers. There is no way for the driver to determine if the other events
  12. are available or not. Hence the driver exposes only those events advertised
  13. by the DSU, in "events" directory under :
  14. /sys/bus/event_sources/devices/arm_dsu_<N>/
  15. The user should refer to the TRM of the product to figure out the supported events
  16. and use the raw event code for the unlisted events.
  17. The driver also exposes the CPUs connected to the DSU instance in "associated_cpus".
  18. e.g usage :
  19. perf stat -a -e arm_dsu_0/cycles/