summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2025-02-12 17:21:35 -0800
committerNamhyung Kim <namhyung@kernel.org>2025-03-10 14:15:38 -0700
commit0d042fa514a0802eaae4f809c5a9eebea65aafdb (patch)
treef91e048b5f8c592e5a21ac08b7e1c8c5cb28ceae /tools/perf/scripts/python/export-to-sqlite.py
parentd35ad7e881c7a47d9a4834434934df0fd8d54aec (diff)
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions