bloat-o-meter: Ignore syscall aliases SyS_ and compat_SyS_
authorJosh Triplett <josh@joshtriplett.org>
Mon, 18 Aug 2014 00:45:46 +0000 (19:45 -0500)
committerJosh Triplett <josh@joshtriplett.org>
Sat, 23 Aug 2014 20:08:48 +0000 (13:08 -0700)
This avoids double-counting size changes in syscall implementations.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
scripts/bloat-o-meter

index 549d0ab8c66204ec8db65de3d48ce619f7dee925..23e78dcd12bf721a88316a007ede27d3454c906a 100755 (executable)
@@ -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)