[PATCH 1/2] scripts/bloat-o-meter: Ignore changes in the size oflinux_banner

From: Josh Triplett
Date: Thu Oct 31 2013 - 08:07:51 EST


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@xxxxxxxxxxxxxxxx>
---
scripts/bloat-o-meter | 1 +
1 file changed, 1 insertion(+)

diff --git a/scripts/bloat-o-meter b/scripts/bloat-o-meter
index 6129020..bf24f50 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
# function names begin with '.' on 64-bit powerpc
if "." in name[1:]: name = "static." + name.split(".")[0]
sym[name] = sym.get(name, 0) + int(size, 16)
--
1.8.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/