Thread (4 messages) 4 messages, 4 authors, 2013-11-08

How to find out which part of code is changing a particular data structure.

From: Chetan Nanda <hidden>
Date: 2013-11-08 03:31:56

You may attach debugger (like Lauterbach) and use its data breakpoint
functionality.

Thanks,
Chetan Nanda


On Fri, Nov 8, 2013 at 6:16 AM, Rajat Jain [off-list ref] wrote:
Hi folks,

I have a memory location (One of the fields in a kernel data structure)
and I want to track down the code that changes the value of that particular
location. Some thing like a "watchpoint".

And this is early while I am still booting up. Can some one tell me if it
is possible to do so?

Thanks,

Rajat




_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131108/9c3cfee0/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help