linux/tools/perf/pmu-events/arch/s390
Thomas Richter 5a6c184a72 perf list: Fix PMU name pai_crypto in perf list on s390
Commit e0b23af82d ("perf list: Add PMU pai_crypto event
description for IBM z16") introduced the "Processor Activity
Instrumentation" for cryptographic counters for z16. The PMU device
driver exports the counters via sysfs files listed in directory
/sys/devices/pai_crypto.

To specify an event from that PMU, use 'perf stat -e pai_crypto/XXX/'.

However the JSON file mentioned in above commit exports the counter
decriptions in file pmu-events/arch/s390/cf_z16/pai.json.  Rename this
file to pmu-events/arch/s390/cf_z16/pai_crypto.json to make the naming
consistent.

Now 'perf list' shows the counter names under pai_crypto section:

  pai_crypto:

    CRYPTO_ALL
         [CRYPTO ALL. Unit: pai_crypto]
    ...

Output before was

  pai:
    CRYPTO_ALL
         [CRYPTO ALL. Unit: pai_crypto]
    ...

Fixes: e0b23af82d ("perf list: Add PMU pai_crypto event description for IBM z16")
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Link: https://lore.kernel.org/r/20221021082557.2695382-1-tmricht@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-10-25 17:40:48 -03:00
..
cf_z10 perf list: Update event description for IBM z10 to latest level 2022-06-03 21:37:26 +02:00
cf_z13 perf list: Update event description for IBM z13 to latest level 2022-06-03 21:37:26 +02:00
cf_z14 perf list: Update event description for IBM z14 to latest level 2022-06-03 21:37:26 +02:00
cf_z15 perf list: Update event description for IBM z15 to latest level 2022-06-03 21:37:27 +02:00
cf_z16 perf list: Fix PMU name pai_crypto in perf list on s390 2022-10-25 17:40:48 -03:00
cf_z196 perf list: Update event description for IBM z196/z114 to latest level 2022-06-03 21:37:27 +02:00
cf_zec12 perf list: Update event description for IBM zEC12/zBC12 to latest level 2022-06-03 21:37:27 +02:00
mapfile.csv perf list: Add IBM z16 event description for s390 2022-06-03 21:37:26 +02:00