[PATCH 0/2] perf vendor events riscv: Add T-HEAD C930 JSON files

cp0613 at linux.alibaba.com cp0613 at linux.alibaba.com
Wed Sep 10 05:11:19 PDT 2025


From: Chen Pei <cp0613 at linux.alibaba.com>

Add pmu json files for T-HEAD C930. Including topdown and some
other metric groups.

Chen Pei (2):
  perf vendor events riscv: Add T-HEAD C930 JSON file
  perf vendor events riscv: Add T-HEAD C930 metrics

 tools/perf/pmu-events/arch/riscv/mapfile.csv  |   1 +
 .../arch/riscv/thead/c930/basic.json          | 117 ++++
 .../pmu-events/arch/riscv/thead/c930/ieu.json |  97 ++++
 .../pmu-events/arch/riscv/thead/c930/ifu.json |  62 ++
 .../pmu-events/arch/riscv/thead/c930/l2c.json |  87 +++
 .../pmu-events/arch/riscv/thead/c930/lsu.json | 182 ++++++
 .../arch/riscv/thead/c930/metrics.json        | 538 ++++++++++++++++++
 .../arch/riscv/thead/c930/vfpu.json           | 177 ++++++
 8 files changed, 1261 insertions(+)
 create mode 100644 tools/perf/pmu-events/arch/riscv/thead/c930/basic.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/thead/c930/ieu.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/thead/c930/ifu.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/thead/c930/l2c.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/thead/c930/lsu.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/thead/c930/metrics.json
 create mode 100644 tools/perf/pmu-events/arch/riscv/thead/c930/vfpu.json

-- 
2.49.0




More information about the linux-riscv mailing list