How to add a haradware breakpoint on a physical memory address?

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Fri Nov 17 10:03:32 EST 2017


On Fri, 17 Nov 2017 17:57:26 +0800, kipade said:

> I found some memory was rewrite by gpu module, but i have not found where it layout.
> I just use samples hw_breakpoint module for memory monitor.
> However, i found it only monitor on a virtual address,
> in another words, if two variable point the same physical memory, it can't be detected
> if I just monitor on the other variable.

If you have two different variables pointing to the same physical address,
you *probably* are doing something wrong.  Why was something else
using memory that got used by the GPU?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171117/17ea66db/attachment.bin 


More information about the Kernelnewbies mailing list