summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2014-08-18 02:45:46 +0200
committerJosh Triplett <josh@joshtriplett.org>2014-08-23 22:08:48 +0200
commitb25c2ff547530f63d71fc67048543ae54b434476 (patch)
tree0066f2eccf97881a371c2f21b762daaf7267da58 /scripts
parentLinux 3.17-rc1 (diff)
downloadlinux-b25c2ff547530f63d71fc67048543ae54b434476.tar.xz
linux-b25c2ff547530f63d71fc67048543ae54b434476.zip
bloat-o-meter: Ignore syscall aliases SyS_ and compat_SyS_
This avoids double-counting size changes in syscall implementations. Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bloat-o-meter2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/bloat-o-meter b/scripts/bloat-o-meter
index 549d0ab8c662..23e78dcd12bf 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)