diff options
author | Kajol Jain <[email protected]> | 2022-06-10 19:11:13 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-06-29 08:57:45 +1000 |
commit | ab8bca92aebcb59d81dc95ddebe241052f2bb411 (patch) | |
tree | 12e633c0db2f7a2aac3940065a1a17f571de029d /arch/powerpc/mm/hugetlbpage.c | |
parent | 9ac92fecd1dbfcabd64925571b94151d7a814878 (diff) |
selftests/powerpc/pmu: Add test for hardware cache events
The testcase checks if the transalation of a generic hardware cache
event is done properly via perf interface. The hardware cache events has
type as PERF_TYPE_HW_CACHE and each event points to raw event code id.
Testcase checks different combination of cache level, cache event
operation type and cache event result type and verify for a given event
code, whether transalation matches with the current cache event mappings
via perf interface.
Signed-off-by: Kajol Jain <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage.c')
0 files changed, 0 insertions, 0 deletions