Re: process header declaration?

From: Erik Mouw (J.A.K.Mouw@ITS.TUDelft.NL)
Date: Thu Oct 19 2000 - 13:36:29 EST


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/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:15 EST