This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]