Thank you very for your help. I have checked the ftrace, and perf. I think it won't work for me.I am not analyzing/tracing the the kernel. I want to develop my own dynamic tool like
Pin Tool
(or moudule which can be loaded/unloaded at run time dynamically), so that I can easily tune/modify for different purposes
, and to get any type of specific information from the kernel/KVM, espcecially in the context of virtualization (guest and/or host memory management). That's why I take a start from generating the log of guest physical addresses from the kernel by saving it to the file; with the passage of time, I will add the funcationalities to it.
Thank you.