Hello,

I'm working with a kernel module that, through hardware events, gets a  
list of physical and linear memory addresses accessed by a program. I  
would like to convert these to the virtual addresses, as seen from the  
user space.

I saw there's phys_to_virt(), but as I understood it's only valid for  
kernel addresses.

What would be the correct approach? Pointers to the correct structs  
and functions are greatly appreciated.

Thank you.

Martin


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to