projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d1311b
)
bloat-o-meter: Ignore syscall aliases SyS_ and compat_SyS_
author
Josh Triplett
<josh@joshtriplett.org>
Mon, 18 Aug 2014 00:45:46 +0000
(19:45 -0500)
committer
Josh Triplett
<josh@joshtriplett.org>
Sat, 23 Aug 2014 20:08:48 +0000
(13:08 -0700)
This avoids double-counting size changes in syscall implementations.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
scripts/bloat-o-meter
patch
|
blob
|
blame
|
history
diff --git
a/scripts/bloat-o-meter
b/scripts/bloat-o-meter
index 549d0ab8c66204ec8db65de3d48ce619f7dee925..23e78dcd12bf721a88316a007ede27d3454c906a 100755
(executable)
--- 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)