>> +    VCPU_EVENT(vcpu, 5, "synchronous page fault at guest %lx user %lx",
>> +               current->thread.gmap_addr, uaddr);
>> +
>> +    fault_in_pages_readable((char __user *)uaddr, PAGE_SIZE);
>> +}
> 
> These may make sense as tracepoints (this is what x86 does).  The
> kvm_stat script knows how to pick them up and generate an event
> histogram dynamically, along with all the other goodies tracepoints bring.

Coverting these to trace points is on my todo list.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to