This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Re: Output Redesign in SystemTap Runtime
On Tue, 2005-04-26 at 07:14 -0400, Frank Ch. Eigler wrote:
> More generally, backtrace data can instead be saved in ordinary
> systemtap variables, meaning in strings or numbers, and only
> eventually printed. By that time, the exact origins ("this came from
> a stack") would be lost, in the absence of heroic measures.
Not really. "<stack> 0xf0001234 ... </stack>" gets saved as a string
and is obviously still a stack trace. So it can be saved in maps, etc
and still get symbolic lookups and formatting in postprocessing. There
is a verbose parameter to the backtrace command that, if set to zero,
would just generate the numbers without the tags, if that is wanted.
Martin