This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/10234] clean up aggregate hard-coded logic
- From: "mcermak at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 27 Sep 2016 08:44:11 +0000
- Subject: [Bug runtime/10234] clean up aggregate hard-coded logic
- Auto-submitted: auto-generated
- References: <bug-10234-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=10234
--- Comment #8 from Martin Cermak <mcermak at redhat dot com> ---
Created attachment 9525
--> https://sourceware.org/bugzilla/attachment.cgi?id=9525&action=edit
proposed prototype patch
The attached patch based on inlining the __stp_stat_add(), and adding a few
integer parameters denoting relevant stat ops, seems to help GCC to effectively
optimize this function.
Very rough testing shows about 17% shrinkage, which is roughly about the same
as with the patch from Comment #6 (based on preprocessing phase of the runtime
compilation). The results were acquired using gcc-6.2.1-1.fc26.x86_64 and -O2
for the module compilation.
--
You are receiving this mail because:
You are the assignee for the bug.