scripts/bloat-o-meter: ignore changes in the size of linux_banner
authorJosh Triplett <josh@joshtriplett.org>
Thu, 7 Nov 2013 01:03:06 +0000 (12:03 +1100)
committerMichal Marek <mmarek@suse.cz>
Thu, 7 Nov 2013 09:46:54 +0000 (10:46 +0100)
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>
scripts/bloat-o-meter

index 855198c..cd2916c 100755 (executable)
@@ -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)