[Bug tapsets/6965] New: compile symbol-table in conditionally

fche at redhat dot com sourceware-bugzilla@sourceware.org
Sat Oct 18 06:38:00 GMT 2008


Depending on the particular systemtap script, the symbol table generated
by translate.cxx into .../stap-symbols.h may not be needed.  In particular,
a script that uses no backtrace/probfunc-style tapset functions may not
make any other reference to the symbol table data.  One way to automate
the compiling-out of this data would be to add a

%{
#define NEED_SYMBOL_DATA 1
%}

to any tapset file that contains backtrace/probefunc/etc., and correspondingly
emitting an #ifdef/#endif to stap-symbols.h.  See also the current use of
STP_USE_DWARF_UNWINDER in translate.cxx, which this new macro could relate to.

-- 
           Summary: compile symbol-table in conditionally
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6965

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list