libdwfl conversion

Finally I found time to convert dwarves to use the more active libdwfl library found in elfutils, thanks to Ulrich Drepper and Roland McGrath we can forget about most of the low level details related to RELA architectures and get the dwarves to work with kernel modules on architectures such as x86_64, where we need to do relocation work on the .debug_info section, now just enjoy pahole & friends working on more targets.

There is still some work to do on two of the dwarves that handle more than one target, codiff and ctracer, where dwfl_default_argp is not enough as it only handles one side of the game needed for these two dwarves, we need to open another set to compare in the case of codiff and another set for resolving the kprobes functions in the case of ctracer.

Post a comment or leave a trackback: Trackback URL.


  • Diego Flameeyes Pettenò  On March 30, 2007 at 7:22 pm

    This starts being an issue here on Gentoo as libdwfl does not seem to get installed.
    I’ll probably have to continue with an old pahole version for now.

    Oh well, will just have to straighten it up a bit 😉

  • Diego Flameeyes Pettenò  On April 1, 2007 at 11:30 pm

    Okay FWIW libdwfl does not seem to be a proper installed library, it still links to libdw, so it works fine here 😉

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: