Re: [Kcd-devel] [lkcd-devel] Kerntypes for kernel module?
Brought to you by:
lerdsuwa
From: Dave L. <dl...@ex...> - 2006-06-30 20:38:55
|
Cliff Wickman wrote: > Hi H. > > The standard Kerntypes are only built from a subset of the kernel, > defined in init/kerntypes.c. > > Make your kernel and modules with -g. > dwarfextract -p vmlinux kerntypes > > dwarfextract -p -c <module.ko> kerntypes > -or- > dwarfextract -p -C <file-of-module-names> kerntypes > > -Cliff > Would it be possible to feed dwarfextract a file that a list of files to concatenate types from? You could generate the file by doind a find on /lib/modules to get all the symbols from the kernel modules. Much of the really juicy stuff (like nfs, xfs, etc. structs) are in kernel modules. It would be useful to be able to easily generate a big unified kerntypes file that contained all the structs. -- Dave Lloyd Test Engineer, Exegy, Inc. 314.450.5342 dl...@ex... |