diff options
author | Suravee Suthikulpanit <[email protected]> | 2013-06-05 16:11:49 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-06-19 13:04:53 +0200 |
commit | 7be6296fdd75f716f7348251433ea68c4b362cf3 (patch) | |
tree | 8120dcc5ba7c63669447d74f2d1f0458dd7fc0d3 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 30861ddc9cca479a7fc6a5efef4e5c69d6b274f4 (diff) |
perf/x86/amd: AMD IOMMU Performance Counter PERF uncore PMU implementation
Implement a perf PMU to handle IOMMU performance counters and events.
The PMU only supports counting mode (e.g. perf stat). Since the counters
are shared across all cores, the PMU is implemented as "system-wide" mode.
To invoke the AMD IOMMU PMU, issue a perf tool command such as:
./perf stat -a -e amd_iommu/<events>/ <command>
or:
./perf stat -a -e amd_iommu/config=<config-data>,config1=<config1-data>/ <command>
For example:
./perf stat -a -e amd_iommu/mem_trans_total/ <command>
The resulting count will be how many IOMMU total peripheral memory
operations were performed during the command execution window.
Signed-off-by: Suravee Suthikulpanit <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions