Skip to contentSkip to conversation

bloat-o-meter: Ignore syscall aliases SyS_ and compat_SyS_

PATCH New Josh Triplett 1 participant 1 message Sep 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bloat-o-meter: Ignore syscall aliases SyS_ and compat_SyS_

This avoids double-counting size changes in syscall implementations.

---

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

 scripts/bloat-o-meter | 2 ++
 1 file changed, 2 insertions(+)
scripts/bloat-o-meter +2 -0
index 549d0ab..23e78dc 100755
@@ -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)
Signature · 1 line
2.1.0