summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2025-02-13 04:21:35 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-03-11 00:15:38 +0300
commit0d042fa514a0802eaae4f809c5a9eebea65aafdb (patch)
treef91e048b5f8c592e5a21ac08b7e1c8c5cb28ceae /tools/perf/scripts/python
parentd35ad7e881c7a47d9a4834434934df0fd8d54aec (diff)
downloadlinux-0d042fa514a0802eaae4f809c5a9eebea65aafdb.tar.xz
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 <samuel.holland@sifive.com> Reviewed-by: Ian Rogers <irogers@google.com> Tested-by: Ian Rogers <irogers@google.com> Tested-by: Atish Patra <atishp@rivosinc.com> Link: https://lore.kernel.org/r/20250213220341.3215660-3-samuel.holland@sifive.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions