lkcd
[Top] [All Lists]

Re: Module support

To: <lkcd@xxxxxxxxxxx>, "Keith Owens" <kaos@xxxxxxxxxx>
Subject: Re: Module support
From: "Masashige Kotani" <m-kotani@xxxxxxxxxxxxxxx>
Date: Tue, 7 Aug 2001 20:22:54 +0900
References: <3877.997096609@ocs3.ocs-net>
Sender: owner-lkcd@xxxxxxxxxxx
> On Mon, 6 Aug 2001 19:25:43 +0900,
> "Masashige Kotani" <m-kotani@xxxxxxxxxxxxxxx> wrote:
> >  1) Extarct symbol information of modules which were loaded at the
> >     time of system crash from a dump file,
> >  2) Merge them to System.map,
> >  3) Save it as a map file which lcrash can read.
> >This command merges symbol information of modules and System.map by
> >using ksymoops.
>
> Looks good.  A couple of minor points.  You print addresses as %08x but
> 64 bit machines need %016x.  Your traceback does not include the module
> name, almost every module has init_module() so you need to print the
> module name to distinguish between duplicate functions.
>

Although it cannot test since there is no 64 bit machine,
I found that lkcdutils has print_kaddr() in each architectures.
It will output address by using printing address format.

About init_module,
I'm thinking now.
For example,
Module names are added to symbol names.
(only init_module and cleanup_module? the other symbols do it?)
Lcrash library is changed so that a module name can print.
What do you think?


Thanks!

--Masashige




<Prev in Thread] Current Thread [Next in Thread>