Messages in this thread | | | Date | Thu, 19 Oct 2000 23:22:28 -0500 (EST) | From | "Andrew C. Dingman" <> | Subject | Re: process header declaration? |
| |
Thanks, both for the regexp and for the ctag/etags reccomendation. I'd just been looking for 'task_struct' with less, find and egrep, and apparently not noticing the correct needle in the haystack of matches.
-Andrew
On Thu, 19 Oct 2000, Erik Mouw wrote:
>On Thu, Oct 19, 2000 at 12:30:51PM -0500, Andrew C. Dingman wrote: >> I'm working on a project for my senior seminar for which I (and my >> profs) think I need to modify the process descriptor >> struct. Unfortunately, I don't seem to be good enough with 'grep' to >> figure out where the type is declared. Could someone give me a pointer >> to the right file in the 2.4.0-testX source code, or a good expression >> to grep for, please? I am subscribed to the list, but a cc wouldn't >> hurt, either. Thanks in advance for any help you feel inclined to >> offer. > >find include/ -name "*.h" -exec grep '^struct task_struct' {} /dev/null \; > >vi+ctags or emacs+etags are also good combinations to find identifiers >in the kernel source. > >Or use the cross referencing tool at lxr.linux.no: > > http://lxr.linux.no/ident > > >Erik > >-- >J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department >of Electrical Engineering, Faculty of Information Technology and Systems, >Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands >Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl >WWW: http://www-ict.its.tudelft.nl/~erik/ >
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |