Skip to content

Commit b25c2ff

Browse files
committed
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>
1 parent 7d1311b commit b25c2ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎scripts/bloat-o-meter‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ def getsizes(file):
2020
if type in "tTdDbBrR":
2121
# strip generated symbols
2222
if name.startswith("__mod_"): continue
23+
if name.startswith("SyS_"): continue
24+
if name.startswith("compat_SyS_"): continue
2325
if name == "linux_banner": continue
2426
# statics and some other optimizations adds random .NUMBER
2527
name = re.sub(r'\.[0-9]+', '', name)

0 commit comments

Comments
 (0)