summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2013-11-07 05:03:06 +0400
committerMichal Marek <mmarek@suse.cz>2013-11-07 13:46:54 +0400
commit5a7b2d27960c7390f1729b6b81eaf94d9e7f3837 (patch)
treec0a84b2432554ab17bb157407bc26d39d9637100
parent849464d1ba97a13b388fee9a69fbbeee175b349c (diff)
downloadlinux-5a7b2d27960c7390f1729b6b81eaf94d9e7f3837.tar.xz
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>
-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):
if type in "tTdDbBrR":
# strip generated symbols
if name[:6] == "__mod_": continue
+ if name == "linux_banner": continue
# statics and some other optimizations adds random .NUMBER
name = re.sub(r'\.[0-9]+', '', name)
sym[name] = sym.get(name, 0) + int(size, 16)