Messages in this thread | | | Date | Thu, 22 Sep 2022 15:34:51 +0200 | From | Peter Zijlstra <> | Subject | Re: [RFC PATCH v2 2/3] perf/x86/intel/pt: Introduce and export pt_get_curr_event() |
| |
On Thu, Sep 22, 2022 at 12:58:49PM +0000, Wang, Wei W wrote:
> Add a function to expose the current running PT event to users. One usage is in KVM, > it needs to get and disable the running host PT event before VMEnter to the guest and > resumes the event after VMexit to host.
You cannot just kill a host event like that. If there is a host event, the guest looses out.
| |