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

kiran kumar <[email protected]>
Newsgroups gmane.linux.kernel.kernelnewbies,gmane.linux.newbie
Message-ID <[email protected]>
Hi Rjat,
Can you define that location as read only(i.e constant)?. This is only for debug prupose, later you can remove. 
I am expecting kernel panic with this change. 
Regards,
Kiran



On Friday, 8 November 2013, 9:03, Chetan Nanda <[email protected]> wrote:
  
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 <[email protected]> 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
>[email protected]
>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>


_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.