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

David Ahern
2015-01-02T16:29:09Z

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