<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 12, 2017 at 2:25 PM, Code Soldier1 <span dir="ltr"><<a href="mailto:codesoldier1@gmail.com" target="_blank">codesoldier1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks. This does not completely solve my issue. I am looking for<br>
something that can associate a field name with the structure.<br></blockquote><div><br></div><div>Well, you can search for a field's use using free-text search, then looks at the line of code to figure out what struct it's part of, no? :)</div><div><br></div><div>-mandeep</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Tue, Apr 11, 2017 at 1:13 PM, Mandeep Sandhu<br>
<<a href="mailto:mandeepsandhu.chd@gmail.com">mandeepsandhu.chd@gmail.com</a>> wrote:<br>
>><br>
>> I am looking for something that can list all the places that a certain<br>
>> field of a certain structure is used. For example, sk_buff has a field<br>
>> called destructor, but so do many other data structures. How do I<br>
>> search for places where just the destructor field of sk_buff.<br>
><br>
><br>
> I think lxr has an identifier & free-text search (powered by google). If<br>
> that doesn't do it for you, you can go "old school" and try cscope maybe?<br>
><br>
> HTH,<br>
> -mandeep<br>
><br>
><br>
>><br>
>><br>
>> Thanks a lot.<br>
<span class="HOEnZb"><font color="#888888">>><br>
>> --<br>
>> CS1<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Kernelnewbies mailing list<br>
>> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.<wbr>org</a><br>
>> <a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.<wbr>org/mailman/listinfo/<wbr>kernelnewbies</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
CS1<br>
</font></span></blockquote></div><br></div></div>