This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/10665] New: backtrace() is too slow
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 18 Sep 2009 21:39:42 -0000
- Subject: [Bug runtime/10665] New: backtrace() is too slow
- Reply-to: sourceware-bugzilla at sourceware dot org
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.