From: Tim Bird Date: Wed, 3 Dec 2014 18:42:21 +0000 (-0800) Subject: selftest: size: Add size test for Linux kernel X-Git-Tag: omap-for-v3.20/drop-legacy-3517~67^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ce51050fadd63737c03627293ca2dc4be238891;p=pandora-kernel.git selftest: size: Add size test for Linux kernel This test shows the amount of memory used by the system. Note that this is dependent on the user-space that is loaded when this program runs. Optimally, this program would be run as the init program itself. The program is optimized for size itself, to avoid conflating its own execution with that of the system software. The code is compiled statically, with no stdlibs. On my x86_64 system, this results in a statically linked binary of less than 5K. Signed-off-by: Tim Bird Reviewed-by: Josh Triplett Signed-off-by: Shuah Khan --- Reading git-diff-tree failed