diff options
author | Namhyung Kim <[email protected]> | 2016-11-08 22:08:33 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-11-09 11:55:29 -0300 |
commit | c72ab446cac1d6c9551fd26c4cfef1b2fc5041fd (patch) | |
tree | 9002075620e99bf0b6fd5a7d8d2f83798b0560d0 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | b9bf911e990a189f89147ee6b66660a153ed0125 (diff) |
perf hists: Fix column length on --hierarchy
Markus reported that there's a weird behavior on perf top --hierarchy
regarding the column length.
Looking at the code, I found a dubious code which affects the symptoms.
When --hierarchy option is used, the last column length might be
inaccurate since it skips to update the length on leaf entries.
I cannot remember why it did and looks like a leftover from previous
version during the development.
Anyway, updating the column length often is not harmful. So let's move
the code out.
Reported-and-Tested-by: Markus Trippelsdorf <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Fixes: 1a3906a7e6b9 ("perf hists: Resort hist entries with hierarchy")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions