aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2025-02-13 01:21:35 +0000
committerNamhyung Kim <[email protected]>2025-03-10 21:15:38 +0000
commit0d042fa514a0802eaae4f809c5a9eebea65aafdb (patch)
treef91e048b5f8c592e5a21ac08b7e1c8c5cb28ceae /tools/perf/util/python.c
parentperf vendor events riscv: Rename U74 to Bullet (diff)
downloadkernel-0d042fa514a0802eaae4f809c5a9eebea65aafdb.tar.gz
kernel-0d042fa514a0802eaae4f809c5a9eebea65aafdb.zip
perf vendor events riscv: Remove leading zeroes
The EventCode field (as stored in the mhpmeventN CSRs) is actually 56 bits wide, but there is no need to keep leading zeroes in the JSON files. Remove them to simplify review of the following change, which regenerates the files in a way that does not include leading zeroes. This change was performed automatically with `sed -i "s/0x0*/0x/"`. Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Ian Rogers <[email protected]> Tested-by: Ian Rogers <[email protected]> Tested-by: Atish Patra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions