Skip to content

Commit

Permalink
RISC-V: KVM: Implement perf support without sampling
Browse files Browse the repository at this point in the history
RISC-V SBI PMU & Sscofpmf ISA extension allows supporting perf in
the virtualization enviornment as well. KVM implementation
relies on SBI PMU extension for the most part while trapping
& emulating the CSRs read for counter access.

This patch doesn't have the event sampling support yet.

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>
  • Loading branch information
atishp04 authored and avpatel committed Feb 7, 2023
1 parent a9ac6c3 commit 0cb74b6
Showing 1 changed file with 356 additions and 4 deletions.
Loading

0 comments on commit 0cb74b6

Please sign in to comment.