lkml.org 
[lkml]   [2015]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 30/30] perf tools: Disable test code
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


\
 
 \ /
  Last update: 2015-01-02 17:41    [W:0.171 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site