public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* New /* stable */ embedded-c pragma
       [not found] <307772783.5042994.1439576879446.JavaMail.zimbra@redhat.com>
@ 2015-08-14 18:51 ` Felix Lu
  0 siblings, 0 replies; only message in thread
From: Felix Lu @ 2015-08-14 18:51 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-14 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <307772783.5042994.1439576879446.JavaMail.zimbra@redhat.com>
2015-08-14 18:51 ` New /* stable */ embedded-c pragma Felix Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).