Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b25c2ff5 authored by Josh Triplett's avatar Josh Triplett
Browse files

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



This avoids double-counting size changes in syscall implementations.

Signed-off-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent 7d1311b9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)