Is there a way to build a cross reference with kernel file
From: Dave Hylands <hidden>
Date: 2011-12-18 05:47:09
Hi Jeff, On Fri, Dec 16, 2011 at 6:24 PM, Jeff Haran [off-list ref] wrote:
quoted
-----Original Message----- From: Javier Martinez Canillas [mailto:martinez.javier at gmail.com] Sent: Friday, December 16, 2011 6:04 PM To: Jeff Haran Cc: Alexandre Courbot; Jimmy Pan; Kernelnewbies at kernelnewbies.org Subject: Re: Is there a way to build a cross reference with kernel file On Sat, Dec 17, 2011 at 1:58 AM, Jeff Haran [off-list ref] wrote:quoted
quoted
-----Original Message----- From: kernelnewbies-bounces at kernelnewbies.org[mailto:kernelnewbies-quoted
quoted
bounces at kernelnewbies.org] On Behalf Of Alexandre Courbot Sent: Monday, October 24, 2011 7:05 PM To: Jimmy Pan Cc: Kernelnewbies at kernelnewbies.org Subject: Re: Is there a way to build a cross reference with kernelfilequoted
On Tue, Oct 25, 2011 at 12:00 AM, Jimmy Pan [off-list ref]wrote:quoted
quoted
quoted
It seems we can use ctags, while, I don't really know how toimplement it.quoted
quoted
I don't want to use the online cross reference every time...I personally use KDevelop to navigate the kernel. It's not perfect yet and a little bit tricky to configure correctly, but it's still pretty efficient and I work on improving it. I wrote about it recently: http://www.gnurou.org/code/kdevelop-kernel CTags is also known to work well, actually there is even a 'make tags' target in the kernel's Makefile. Hope this helps, Alex....quoted
quoted
Has anybody found a tool the solves this kind of problem well? Specifically, given a struct foo containing a field named bar, show me all of the code that references the bar field of struct foos but notthequoted
quoted
bar fields of other structures nor instances of variables that are themselves named bar.
It's not free, but I use Visual SlickEdit, and it is capable of doing what you want. www.slickedit.com I tried what you suggested, and clicked on the cb field inside the sk_buff struct and asked for all references to that. I checked through most of what it returned and they all seemed to be valid. -- Dave Hylands Shuswap, BC, Canada http://www.davehylands.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111217/dc919370/attachment.html