diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2019-06-25 16:24:20 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-06-25 16:24:20 -0300 |
commit | b598c34ffc2b60c5c2f6450753a376a81f225652 (patch) | |
tree | d857f978e7bc9cea64b4296997b35da82cb8beb8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 828e27a899156047758628a97eedeb2b8df41670 (diff) |
perf ui stdio: No need to use 'spaces' to left align
We can just use the 'field width' for the %s used to print the
alignment, this way we'll get the same result without requiring having a
variable with just lots of space chars.
No way to do that for the dots tho, we still need that variable filled
with dot chars.
# perf report --stdio --hierarchy > before
# perf report --stdio --hierarchy > after
# diff before after
#
I.e. it continues as:
# perf report --stdio --hierarchy | head -15
# To display the perf.data header info, please use --header/--header-only options.
#
#
# Total Lost Samples: 0
#
# Samples: 107 of event 'cycles'
# Event count (approx.): 31378313
#
# Overhead Command / Shared Object / Symbol
# .............. ............................................
#
80.13% swapper
72.29% [kernel.vmlinux]
49.85% [k] intel_idle
9.05% [k] tick_nohz_next_event
#
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions