diff options
| author | John Garry <[email protected]> | 2020-10-22 19:02:27 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-11-04 09:42:41 -0300 |
| commit | 644bf4b0f7acde641d3db200b4db66977e96c3bd (patch) | |
| tree | 62c1d04ca3469a8c7989bb374d7e4eb3cd6747eb /tools/perf/scripts/python | |
| parent | fa1b41a74d1136cbdd6960f36d7b9c7aa35c8139 (diff) | |
perf jevents: Add test for arch std events
Recently there was an undetected breakage for std arch event support.
Add support in "PMU events" testcase to detect such breakages.
For this, the "test" arch needs has support added to process std arch
events. And a test event is added for the test, ifself.
Also add a few code comments to help understand the code a bit better.
Committer testing:
Before:
# perf test -vv pmu |& grep l3_cache_rd
#
After:
# perf test -vv pmu |& grep l3_cache_rd
testing event table l3_cache_rd: pass
testing aliases PMU cpu: matched event l3_cache_rd
#
Signed-off-by: John Garry <[email protected]>
Reviewed-By: Kajol Jain<[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions