diff options
| author | Namhyung Kim <[email protected]> | 2014-07-31 14:47:41 +0900 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-08-12 12:03:07 -0300 |
| commit | 59dc9f2534569d11a55c8b5dbe93c36f2b2fa506 (patch) | |
| tree | b86d86851eacab906ebfc957ae45311b039c1bb7 /tools/perf/scripts/python | |
| parent | 1ecd44533a8a724f64d4305abb69836ca73c7390 (diff) | |
perf tools: Fix column alignment when headers aren't shown on TUI
If user sets ui.show-headers config option to false, it didn't calculate
default column width so it broke the alignment. This is because it does
the calculation just before showing headers.
Move it to the beginning of the hist browser so that it can be called
regardless of the config option.
Reported-by: Jiri Olsa <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[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')
0 files changed, 0 insertions, 0 deletions