summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2023-02-07 12:55:28 +0300
committerAnup Patel <anup@brainfault.org>2023-02-07 18:06:06 +0300
commitbadc386869e2cb255df6183ec05488a05bd07658 (patch)
treeac95011d119948d95eb9483015050766fa2fab3a /tools/perf/scripts/python
parent0cb74b65d2e5e6ec3ed60c8890014b1bcd0c81c9 (diff)
downloadlinux-badc386869e2cb255df6183ec05488a05bd07658.tar.xz
RISC-V: KVM: Support firmware events
SBI PMU extension defines a set of firmware events which can provide useful information to guests about the number of SBI calls. As hypervisor implements the SBI PMU extension, these firmware events correspond to ecall invocations between VS->HS mode. All other firmware events will always report zero if monitored as KVM doesn't implement them. This patch adds all the infrastructure required to support firmware events. Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Signed-off-by: Atish Patra <atishp@rivosinc.com> Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions