Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf kvm: Add kvm stat support on riscv #821

Closed
wants to merge 2 commits into from

Conversation

bjoto
Copy link

@bjoto bjoto commented Apr 2, 2024

Pull request for series with
subject: perf kvm: Add kvm stat support on riscv
version: 1
url: https://patchwork.kernel.org/project/linux-riscv/list/?series=839162

Shenlin Liang added 2 commits April 2, 2024 10:02
Like other architectures, RISCV KVM also needs to add these event
tracepoints to count the number of times kvm guest entry/exit.

Signed-off-by: Shenlin Liang <liangshenlin@eswincomputing.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
'perf kvm stat report/record' generates a statistical analysis of KVM
events and can be used to analyze guest exit reasons.

"report" reports statistical analysis of guest exit events.

To record kvm events on the host:
 # perf kvm stat record -a

To report kvm VM EXIT events:
 # perf kvm stat report --event=vmexit

Signed-off-by: Shenlin Liang <liangshenlin@eswincomputing.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
@bjoto
Copy link
Author

bjoto commented Apr 2, 2024

Upstream branch: 4cece76
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=839162
version: 1

@bjoto
Copy link
Author

bjoto commented Apr 9, 2024

At least one diff in series https://patchwork.kernel.org/project/linux-riscv/list/?series=839162 irrelevant now. Closing PR.

@bjoto bjoto closed this Apr 9, 2024
@bjoto bjoto deleted the series/839162=>for-next branch April 9, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant