Skip to content

Commit

Permalink
bloat-o-meter: Ignore syscall aliases SyS_ and compat_SyS_
Browse files Browse the repository at this point in the history
This avoids double-counting size changes in syscall implementations.

Signed-off-by: Josh Triplett <[email protected]>
  • Loading branch information
joshtriplett committed Aug 23, 2014
1 parent 7d1311b commit b25c2ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/bloat-o-meter
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b25c2ff

Please sign in to comment.