aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorHugh Dickins <[email protected]>2018-05-25 14:47:50 -0700
committerLinus Torvalds <[email protected]>2018-05-25 18:12:11 -0700
commit6c04ab0eddc9a38e6c14ae4b6217db1e34436b8c (patch)
treeb212e57df1c838d3d33598bf6f5908e4e36c7a6e /tools/perf/util/scripting-engines/trace-event-python.c
parent8addc2d00fe171c89b5fcbafe583c2b90574d301 (diff)
proc: fix smaps and meminfo alignment
The 4.17-rc /proc/meminfo and /proc/<pid>/smaps look ugly: single-digit numbers (commonly 0) are misaligned. Remove seq_put_decimal_ull_width()'s leftover optimization for single digits: it's wrong now that num_to_str() takes care of the width. Link: http://lkml.kernel.org/r/[email protected] Fixes: d1be35cb6f96 ("proc: add seq_put_decimal_ull_width to speed up /proc/pid/smaps") Signed-off-by: Hugh Dickins <[email protected]> Cc: Andrei Vagin <[email protected]> Cc: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions