This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Fwd: Fw: [Fwd: [Fastboot] [RFC]Explanation of Partial dump 3 (analyzingkernel debug information)]]
- From: Vara Prasad <prasadav at us dot ibm dot com>
- To: systemtap <systemtap at sourceware dot org>
- Cc: kexec-kdump-list at redhat dot com, vgoyal at redhat dot com
- Date: Mon, 07 Aug 2006 09:59:46 -0700
- Subject: [Fwd: Fw: [Fwd: [Fastboot] [RFC]Explanation of Partial dump 3 (analyzingkernel debug information)]]
Looks like my earlier attempt to forward this to the systemtap mailing
list failed, hope this time it will succeed.
I saw a following question regarding libdwarf usage in systemtap in the
kdump mailing list. I am thinking there are folks in the systemtap
mailing list who has an answer to Vivek's question below.
[...]
> > >>Hi Neil.
> > >>
> > >>Thank you for your help.
> > >>Just one quick note.
> > >>The major architecture-dependent portion in "makedumpfile" are
> > >>the following 2 header files
> > >>dwarfinfo/config_dwarf.h
> > >>dwarfinfo/config.h.
> > >>
> > >>Please execute the following steps to create these files.
> > >>1.Download libdwarf-20060614.tar.gz from
> > >>http://reality.sgiweb.org/davea/dwarf.html
> > >>2.Decompress libdwarf-20060614.tar.gz in temporary directory.
> > >>3.Execute the followings;
> > >>'cd dwarf-20060614/dwarfdump'
> > >>'./configure'
> > >>'cd ../libdwarf'
> > >>'./configure'
> > >>'cd ..'
> > >>4.Copy dwarfdump/config.h to makedumpfile/dwarfinfo/dwarf_config.h
> > >> Copy libdwarf/config.h to makedumpfile/dwarfinfo/config.h
> > >>Sorry, I haven't yet automated this procedure.
> > >>
> > >>Thanks
> > >>tachibana
> > >
> > >
> > > Is there any reason that makedumpfile needs to be statically
> > linked? It would
> > > seem to me, looking over this code, that this would be cleaner,
> > orgizationally
> > > speaking, if I just separated the libdwarf code out into its own
> > package, and
> > > make kexec-tools (and consequently the makedumpfile utility)
> > dependent on that
> > > libdwarf package.
> > >
> > > Linda, and reason that we can't add another package into RHEL5?
Or have we
> > > missed the cutoff for that?
> > >
> >
> > SystemTAP also uses libdwarf and I think SystemTAP is being shipped
with
> > RHEL5. So I hope libdwarf package should already be in. (Assuming
that
> > systemtap folks have created a separate package and have not
> > encapsulated the library in system package and linked to it
statically).
> >
> > Thanks
> > Vivek
> >