aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2013-11-06 20:03:06 -0500
committerMichal Marek <mmarek@suse.cz>2013-11-07 04:46:54 -0500
commit5a7b2d27960c7390f1729b6b81eaf94d9e7f3837 (patch)
treec0a84b2432554ab17bb157407bc26d39d9637100 /scripts
parent849464d1ba97a13b388fee9a69fbbeee175b349c (diff)
scripts/bloat-o-meter: ignore changes in the size of linux_banner
linux_banner can change size due to changes in the compiler, build number, or the user@host the system was compiled on; ignore size changes in linux_banner entirely. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bloat-o-meter1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/bloat-o-meter b/scripts/bloat-o-meter
index 855198c9dedb..cd2916cfbac4 100755
--- a/scripts/bloat-o-meter
+++ b/scripts/bloat-o-meter
@@ -20,6 +20,7 @@ def getsizes(file):
20 if type in "tTdDbBrR": 20 if type in "tTdDbBrR":
21 # strip generated symbols 21 # strip generated symbols
22 if name[:6] == "__mod_": continue 22 if name[:6] == "__mod_": continue
23 if name == "linux_banner": continue
23 # statics and some other optimizations adds random .NUMBER 24 # statics and some other optimizations adds random .NUMBER
24 name = re.sub(r'\.[0-9]+', '', name) 25 name = re.sub(r'\.[0-9]+', '', name)
25 sym[name] = sym.get(name, 0) + int(size, 16) 26 sym[name] = sym.get(name, 0) + int(size, 16)