]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf vendor events riscv: Add SiFive P550 events
authorEric Lin <eric.lin@sifive.com>
Thu, 13 Feb 2025 01:21:39 +0000 (17:21 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 10 Mar 2025 21:15:38 +0000 (14:15 -0700)
commit2e3a13d6b74ee0ca59b2243878b7b6e0dddbcf6b
tree3e5d3e5068a0eee787d63f274a5d9ed4bf875497
parent8866a33815507485f8129b395511b8b2a0f6411d
perf vendor events riscv: Add SiFive P550 events

The SiFive Performance P550 core features an out-of-order
microarchitecture which exposes the same PMU events as Bullet,
plus events for UTLB hits and PTE cache misses/hits.

Add support for specifying these events using symbolic names.

Signed-off-by: Eric Lin <eric.lin@sifive.com>
Co-developed-by: Samuel Holland <samuel.holland@sifive.com>
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-7-samuel.holland@sifive.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/pmu-events/arch/riscv/mapfile.csv
tools/perf/pmu-events/arch/riscv/sifive/p550/firmware.json [new symlink]
tools/perf/pmu-events/arch/riscv/sifive/p550/instruction.json [new symlink]
tools/perf/pmu-events/arch/riscv/sifive/p550/memory.json [new file with mode: 0644]
tools/perf/pmu-events/arch/riscv/sifive/p550/microarch.json [new symlink]