[Bug runtime/10665] New: backtrace() is too slow

wcohen at redhat dot com sourceware-bugzilla@sourceware.org
Fri Sep 18 21:39:00 GMT 2009


Trying to use backtrace() for bz6960 so that the code is portable between
different kernels. However, the backtrace() function is so slow that the script
skips probe handlers way too often and exits the script.

Looking through the code for the backtrace() it flushes the buffer, uses the 
normal print to buffer and then copy things from the buffer. That has some overhead.

-- 
           Summary: backtrace() is too slow
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: wcohen at redhat dot com
OtherBugsDependingO 6960
             nThis:


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

------- 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