提交 b25c2ff5 编写于 作者: J Josh Triplett

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

This avoids double-counting size changes in syscall implementations.
Signed-off-by: NJosh Triplett <josh@joshtriplett.org>
上级 7d1311b9
...@@ -20,6 +20,8 @@ def getsizes(file): ...@@ -20,6 +20,8 @@ def getsizes(file):
if type in "tTdDbBrR": if type in "tTdDbBrR":
# strip generated symbols # strip generated symbols
if name.startswith("__mod_"): continue if name.startswith("__mod_"): continue
if name.startswith("SyS_"): continue
if name.startswith("compat_SyS_"): continue
if name == "linux_banner": continue if name == "linux_banner": continue
# statics and some other optimizations adds random .NUMBER # statics and some other optimizations adds random .NUMBER
name = re.sub(r'\.[0-9]+', '', name) name = re.sub(r'\.[0-9]+', '', name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册