public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bloat-o-meter: Ignore syscall aliases SyS_ and compat_SyS_
@ 2014-09-22 16:13 Josh Triplett
  0 siblings, 0 replies; only message in thread
From: Josh Triplett @ 2014-09-22 16:13 UTC (permalink / raw)
  To: Michal Marek, Andrew Morton, Andi Kleen, linux-kernel

This avoids double-counting size changes in syscall implementations.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---

Posting for review.  I can upstream this through my new tiny tree.

 scripts/bloat-o-meter | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/bloat-o-meter b/scripts/bloat-o-meter
index 549d0ab..23e78dc 100755
--- a/scripts/bloat-o-meter
+++ b/scripts/bloat-o-meter
@@ -20,6 +20,8 @@ def getsizes(file):
         if type in "tTdDbBrR":
             # strip generated symbols
             if name.startswith("__mod_"): continue
+            if name.startswith("SyS_"): continue
+            if name.startswith("compat_SyS_"): continue
             if name == "linux_banner": continue
             # statics and some other optimizations adds random .NUMBER
             name = re.sub(r'\.[0-9]+', '', name)
-- 
2.1.0


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

only message in thread, other threads:[~2014-09-22 16:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-22 16:13 [PATCH] bloat-o-meter: Ignore syscall aliases SyS_ and compat_SyS_ Josh Triplett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox