Generating Log of Guest Physical Addresses from a Kernel Function and Perform Analysis at Runtime
Greg KH
greg at kroah.com
Wed Sep 25 05:38:24 EDT 2019
On Wed, Sep 25, 2019 at 04:00:08PM +0900, Sahibzada Irfanullah wrote:
> I am sorry if I am bothering you.
> I have read this article
> <http://amsekharkernel.blogspot.com/2012/01/what-are-ways-of-communication-bw-user.html>,
> I have to ask that will Netlink socket work for my task; Storing the
> contents of "gpa" variable (which is present in the
> handle_ept_violation()functino in vmx.c ) into a file.
Try using ftrace and tracing in general first, before messing around
with netlink. ftrace does not require any kernel changes at all, why
would you _not_ want to try that? :)
thanks,
greg k-h
More information about the Kernelnewbies
mailing list