This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
New /* stable */ embedded-c pragma
- From: Felix Lu <flu at redhat dot com>
- To: systemtap at sourceware dot org
- Date: Fri, 14 Aug 2015 14:51:42 -0400 (EDT)
- Subject: New /* stable */ embedded-c pragma
- Authentication-results: sourceware.org; auth=none
SystemTap translator now supports the /* stable */ embedded-c pragma
for arity-0 functions. Functioncall results are now automatically stored
to reduce overhead of duplicate calls(no need to explicitly store).
Stable functioncalls inside loops are also pulled out by the optimizer.
Example usage: https://sourceware.org/systemtap/examples/profiling/timeout.stp
Runtime of stable tapset functioncalls reduced by 5-10% in general usage cases.