summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorRuben Wauters <rubenru09@aol.com>2025-07-20 01:43:10 +0300
committerMadhavan Srinivasan <maddy@linux.ibm.com>2025-09-01 11:10:46 +0300
commit3d9c9e1da9886d91c24d97ca20c854c29212b736 (patch)
tree2c807949ad06633d66e42b700aae15069fded80d /tools/perf/scripts/python/intel-pt-events.py
parenta39087905af9ffecaa237a918a2c03a04e479934 (diff)
downloadlinux-3d9c9e1da9886d91c24d97ca20c854c29212b736.tar.xz
powerpc/xmon: replace sizeof calculations with ARRAY_SIZE macro
The calculations for operand/opcode/macro numbers are done in an identical manner to the already existing ARRAY_SIZE macro in linux/array_size.h This patch replaces the sizeof calculations with the macro to make the code cleaner and more immediately obvious what it is doing. Signed-off-by: Ruben Wauters <rubenru09@aol.com> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20250719225225.2132-2-rubenru09@aol.com
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions