Sept. 25, 2019
9:38 a.m.
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