In kernel 3.11.0, in the struct perf_event_attr
, there are three members named exclude_hv
/exclude_host
/exclude_guest
.
I know the exclude_host
field is to exclude events generated by the host when running kvm. But what is the meaning of exclude_hv
? Is it used in the Xen?
What is the mechanism in hardware that supports the function of exclude_host
? As far as I know, in the performance monitoring select registers, there are no such bits that control the event counter to exclude events generated by the host.