On 05/03/2018 07:06 AM, Kang, Luwei wrote:
Another thing is Xen's vmevent allows intercepting several other traced states.
It seems that a more generic framework is needed to
make PT work with vmevent subsystem? What is your thought on that?
Hi Wei,
I am not fully clear what is the "vmevent subsystem" and what is your mean of "
several other traced states ".
I guess vmevent is use VPMU collect performance counter? and save/load
vpmu MSRs when it's scheduled?
No, vm_event is the part of Xen that is responsible for telling
userspace applications when things they subscribe to happen, among which
are control register (CR) and MSR writes, EPT violations, breakpoints,
and so on.
Please see tools/tests/xen-access/xen-access.c for a quick introduction.
Thanks,
Razvan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel