Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
From 3e6ea12dda276c01a756764fcafa315b19860c33 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jo=C3=A3o=20M=C3=A1rio=20Domingos?=
|
||||
<joao.mario@tecnico.ulisboa.pt>
|
||||
Date: Tue, 16 Nov 2021 15:48:11 +0000
|
||||
Subject: [PATCH 075/116] RISC-V: Added generic pmu-events mapfile
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
The pmu-events now supports custom events for RISC-V, plus the cycle,
|
||||
time and instret events were defined.
|
||||
|
||||
Signed-off-by: João Mário Domingos <joao.mario@tecnico.ulisboa.pt>
|
||||
---
|
||||
.../pmu-events/arch/riscv/riscv-generic.json | 20 +++++++++++++++++++
|
||||
1 file changed, 20 insertions(+)
|
||||
create mode 100644 tools/perf/pmu-events/arch/riscv/riscv-generic.json
|
||||
|
||||
--- /dev/null
|
||||
+++ b/tools/perf/pmu-events/arch/riscv/riscv-generic.json
|
||||
@@ -0,0 +1,20 @@
|
||||
+[
|
||||
+ {
|
||||
+ "PublicDescription": "CPU Cycles",
|
||||
+ "EventCode": "0x00",
|
||||
+ "EventName": "riscv_cycles",
|
||||
+ "BriefDescription": "CPU cycles RISC-V generic counter"
|
||||
+ },
|
||||
+ {
|
||||
+ "PublicDescription": "CPU Time",
|
||||
+ "EventCode": "0x01",
|
||||
+ "EventName": "riscv_time",
|
||||
+ "BriefDescription": "CPU time RISC-V generic counter"
|
||||
+ },
|
||||
+ {
|
||||
+ "PublicDescription": "CPU Instructions",
|
||||
+ "EventCode": "0x02",
|
||||
+ "EventName": "riscv_instret",
|
||||
+ "BriefDescription": "CPU retired instructions RISC-V generic counter"
|
||||
+ }
|
||||
+]
|
||||
\ No newline at end of file
|
||||
Reference in New Issue
Block a user