On 9/25/19 5:38 AM, Greg KH wrote:
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...>, 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
The kernel has GPS data in it?
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and extermination camps, but incompatible with living as a free human being. -RI Safir 2013