diff options
| author | Namhyung Kim <[email protected]> | 2013-06-04 14:46:19 +0900 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-07-12 13:52:35 -0300 |
| commit | f36f83f947ede547833e462696893f866df77324 (patch) | |
| tree | 1eba463cd8663ed9ce65f973bb09f00a4971dda5 /tools/perf/scripts/python/sched-migration.py | |
| parent | 45a9ee1b3fa2d8c3fb7a0c7e5a7b77281a4239a6 (diff) | |
perf sched: Move struct perf_sched definition out of cmd_sched()
For some reason it consumed quite amount of compile time when declared
as local variable, and it disappeared when moved out of the function.
Moving other variables/tables didn't help.
On my system this single-file-change build time reduced from 11s to 3s.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions