diff options
| author | Namhyung Kim <[email protected]> | 2022-11-14 23:02:22 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-11-16 12:51:23 +0000 |
| commit | 4c86b664f4cce6940c187ecfc019f434f8dbd4bc (patch) | |
| tree | 080dcbf7e7db30860d8f867957fc603dcd49b5d5 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf stat: Remove impossible condition (diff) | |
| download | kernel-4c86b664f4cce6940c187ecfc019f434f8dbd4bc.tar.gz kernel-4c86b664f4cce6940c187ecfc019f434f8dbd4bc.zip | |
perf stat: Rework header display
There are print_header() and print_interval() to print header lines before
actual counter values. Also print_metric_headers() needs to be called for
the metric-only case.
Let's move all these logics to a single place including num_print_iv to
refresh the headers for interval mode.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Athira Jajeev <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Xing Zhengjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
