Bug 9792 - Add Intel PEBS virtualization support
Summary: Add Intel PEBS virtualization support
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-20 09:26 UTC by peihongchen
Modified: 2024-08-20 11:19 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peihongchen 2024-08-20 09:26:40 UTC
Description of problem: QEMU/KVM guests are unable to use perf pebs events.


Version-Release number of selected component (if applicable):


How reproducible: Run `perf record -e <events>:p` or `perf record -e <events>:ppp` in guest.


Steps to Reproduce:
1.Create a linux guest based on qemu/kvm.
2.Run `perf record -e <events>:p` or `perf record -e <events>:ppp` in guest.
3.Run `perf report` to show the profiling result.

Actual results: perf command issues something like <events>:p[pp] is not supported.


Expected results: Success to run perf record && perf report and get the profiling result.


Additional info: Fixup the upstream bug of no samples when running `perf record -e <events>:p`.
Comment 1 小龙 admin 2024-08-20 11:19:46 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3738