Re: process header declaration?
Timur Tabi wrote: > > ** Reply to message from "Andrew C. Dingman" > <[EMAIL PROTECTED]> on Thu, 19 Oct 2000 12:30:51 -0500 (EST) > > > 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. > > Spend the money to get a real editor, like Visual SlickEdit for Linux. It > makes analyzing the Linux kernel ten times easier. In this case, a single > keystroke would have told you where that structure (or any field in any > structure) is defined. > > -- > Timur Tabi - [EMAIL PROTECTED] > Interactive Silicon - http://www.interactivesi.com Linux distributions come with an amazing amount of quality tools, you don't need to invest any extra dollars. Learn to use ctags or etags and you can quickly find a type with vi or emacs. John Kacur - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
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: [EMAIL PROTECTED] >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 [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
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: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: process header declaration?
Timur Tabi wrote: ** Reply to message from "Andrew C. Dingman" [EMAIL PROTECTED] on Thu, 19 Oct 2000 12:30:51 -0500 (EST) 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. Spend the money to get a real editor, like Visual SlickEdit for Linux. It makes analyzing the Linux kernel ten times easier. In this case, a single keystroke would have told you where that structure (or any field in any structure) is defined. -- Timur Tabi - [EMAIL PROTECTED] Interactive Silicon - http://www.interactivesi.com Linux distributions come with an amazing amount of quality tools, you don't need to invest any extra dollars. Learn to use ctags or etags and you can quickly find a type with vi or emacs. John Kacur - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: process header declaration?
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: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: process header declaration?
** Reply to message from "Andrew C. Dingman" <[EMAIL PROTECTED]> on Thu, 19 Oct 2000 12:30:51 -0500 (EST) > 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. Spend the money to get a real editor, like Visual SlickEdit for Linux. It makes analyzing the Linux kernel ten times easier. In this case, a single keystroke would have told you where that structure (or any field in any structure) is defined. -- Timur Tabi - [EMAIL PROTECTED] Interactive Silicon - http://www.interactivesi.com When replying to a mailing-list message, please direct the reply to the mailing list only. Don't send another copy to me. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: process header declaration?
On Thu, 19 Oct 2000, 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. The file /usr/include/linux/sched.h contains the structure task_struct. A pointer, called current, gets initialized to point to one of these for every task on the system. Cheers, Dick Johnson Penguin : Linux version 2.2.17 on an i686 machine (801.18 BogoMips). "Memory is like gasoline. You use it up when you are running. Of course you get it all back when you reboot..."; Actual explanation obtained from the Micro$oft help desk. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
process header declaration?
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. Andrew C. Dingman dingman at cs dot earlham dot edu - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
process header declaration?
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. Andrew C. Dingman dingman at cs dot earlham dot edu - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: process header declaration?
On Thu, 19 Oct 2000, 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. The file /usr/include/linux/sched.h contains the structure task_struct. A pointer, called current, gets initialized to point to one of these for every task on the system. Cheers, Dick Johnson Penguin : Linux version 2.2.17 on an i686 machine (801.18 BogoMips). "Memory is like gasoline. You use it up when you are running. Of course you get it all back when you reboot..."; Actual explanation obtained from the Micro$oft help desk. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: process header declaration?
** Reply to message from "Andrew C. Dingman" [EMAIL PROTECTED] on Thu, 19 Oct 2000 12:30:51 -0500 (EST) 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. Spend the money to get a real editor, like Visual SlickEdit for Linux. It makes analyzing the Linux kernel ten times easier. In this case, a single keystroke would have told you where that structure (or any field in any structure) is defined. -- Timur Tabi - [EMAIL PROTECTED] Interactive Silicon - http://www.interactivesi.com When replying to a mailing-list message, please direct the reply to the mailing list only. Don't send another copy to me. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: process header declaration?
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: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/