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`.
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3738