dwarf2 reader

Ewart Tempest etempest at jnpr.net
Mon Jun 13 14:18:41 UTC 2011


I have developed some flight recording capability in the JUNOS FreeBSD 
based kernel, with the flight recorded data being captured in binary 
form for performance. All the subsequent formatting and display of this 
data is performed by a user-space application. I would like to reduce 
the amount of time that designers spend writing formatters to display 
their flight recorded data. kgdb is perfectly capable of displaying all 
kernel resident data structures, and  the manner in which it does so is 
perfectly acceptable for flight recording purposes. The code that kgdb 
uses to support this framework is difficult to break out - does anyone 
know of a dwarf2 reader s/w implementation that is more re-usable?

Ewart


More information about the freebsd-hackers mailing list