Re: lkcd macros meaning
Andreas Herrmann <[email protected]> Tue, 6 Apr 2004 16:40:40 +0200
| Newsgroups | gmane.linux.lkcd.general |
|---|---|
| Message-ID | <OF72A6FB0B.E34FBA64-ONC1256E6E.004AC8F2-C1256E6E.004B2A60@de.ibm.com> |
vidyut karan <[email protected]> wrote: > hi Hi, > can anybody help me in understanding the meaning of follwing macros > in lkcdutils > SYM_MAP_ANY > SYM_MAP_FILE > SYM_MAP_KSYM > SYM_MAP_MODULE Those macros are used as maplist_type in struct maplist_s (see kl_sym.h). SYM_MAP_FILE - stands for a symbol table loaded from a file (usually System.map) and not associated with a kernel module. SYM_MAP_MODULE - stands for a symbol table associated with a kernel module. (Of course it is also loaded from a file, so the naming of SYM_MAP_FILE is somehow misleading. Any suggestions to rename SYM_MAP_FILE are welcome. ;-) SYM_MAP_KSYM - stands for the symbol table contained in the dumped kernel. Same information you get in a running Linux 2.4 using "cat /proc/ksyms". SYM_MAP_ANY - any kind of a symbol table (or "map file") in lkcd. Creation of symbol tables in lkcd differs for all three types of tables (SYM_MAP_FILE, SYM_MAP_MODULE and SYM_MAP_KSYMS). Furthermore the output of the tables is slightly different for each type. > (defined in kl_sym.h) > specially the difference between last two. > thanks for your precious time > vidyut Regards, Andreas ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click