Re: [PATCH 30/30] perf tools: Disable test code

From: David Ahern
Date: Fri Jan 02 2015 - 11:29:11 EST


On 1/2/15 8:36 AM, Jiri Olsa wrote:
NOTE: hack

Forcing test objects not to be compiled into perf code.
This saves almost 1MB of perf binary size on my setup:

# standard perf binary
$ ls -l perf
-rwxrwxr-x 1 jolsa jolsa 10283684 Jan 1 15:52 perf

# current perf binary
$ ls -l perf
-rwxrwxr-x 1 jolsa jolsa 9303174 Jan 1 15:58 perf

nice. I had done the same locally; never got around to pushing that patch upstream.

https://github.com/dsahern/linux/commit/20b85d1cbf5c46a5d9966bfcb7c0dbcb8f0cc8d0

David
--
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/