<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:8pt"><div><span>Hi Rjat,</span></div><div><span>Can you define that location as read only(i.e constant)?. This is only for debug prupose, later you can remove.</span></div><div><span></span> </div><div><span>I am expecting kernel panic with this change.</span></div><div><span></span> </div><div><span>Regards,</span></div><div><span>Kiran</span></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 8pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Friday, 8 November 2013, 9:03, Chetan Nanda <chetannanda@gmail.com> wrote:<br> </font> </div> <div
class="y_msg_container"><div id="yiv8635286618"><div><div dir="ltr"><div><div>You may attach debugger (like Lauterbach) and use its data breakpoint functionality. <br clear="none"><br clear="none"></div>Thanks,<br clear="none"></div>Chetan Nanda<br clear="none"></div><div id="yiv8635286618yqt03153" class="yiv8635286618yqt6415020722"><div class="yiv8635286618gmail_extra"><br clear="none"><br clear="none"><div class="yiv8635286618gmail_quote">On Fri, Nov 8, 2013 at 6:16 AM, Rajat Jain <span dir="ltr"><<a href="mailto:rajatjain@juniper.net" shape="rect" rel="nofollow" target="_blank" ymailto="mailto:rajatjain@juniper.net">rajatjain@juniper.net</a>></span> wrote:<br clear="none">
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="yiv8635286618gmail_quote">Hi folks,<br clear="none">
<br clear="none">
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".<br clear="none">
<br clear="none">
And this is early while I am still booting up. Can some one tell me if it is possible to do so?<br clear="none">
<br clear="none">
Thanks,<br clear="none">
<br clear="none">
Rajat<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
_______________________________________________<br clear="none">
Kernelnewbies mailing list<br clear="none">
<a href="mailto:Kernelnewbies@kernelnewbies.org" shape="rect" rel="nofollow" target="_blank" ymailto="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none">
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" shape="rect" rel="nofollow" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br clear="none">
</blockquote></div><br clear="none"></div></div></div></div><br><div id="yqt64304" class="yqt6415020722">_______________________________________________<br clear="none">Kernelnewbies mailing list<br clear="none"><a href="mailto:Kernelnewbies@kernelnewbies.org" shape="rect" ymailto="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none"><a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" shape="rect" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br clear="none"></div><br><br></div> </div> </div> </div> </div></body></html>