]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf vendor events riscv: Remove leading zeroes
authorSamuel Holland <samuel.holland@sifive.com>
Thu, 13 Feb 2025 01:21:35 +0000 (17:21 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 10 Mar 2025 21:15:38 +0000 (14:15 -0700)
commit0d042fa514a0802eaae4f809c5a9eebea65aafdb
treef91e048b5f8c592e5a21ac08b7e1c8c5cb28ceae
parentd35ad7e881c7a47d9a4834434934df0fd8d54aec
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>
tools/perf/pmu-events/arch/riscv/sifive/bullet/instruction.json
tools/perf/pmu-events/arch/riscv/sifive/bullet/memory.json
tools/perf/pmu-events/arch/riscv/sifive/bullet/microarch.json