summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2022-11-14 15:02:25 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-11-16 09:51:23 -0300
commit78670daefd33c8e0a30b121a2a271a90bca57130 (patch)
treee8179b449b7ffb77a0d80cc1814c3673612da266 /tools/perf/util/scripting-engines/trace-event-python.c
parent2cf38236d94605586da0ed0f9ec432bf0eb415c3 (diff)
perf stat: Factor out print_metric_{begin,end}()
For the metric-only case, add new functions to handle the start and the end of each metric display. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: James Clark <james.clark@arm.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com> Link: https://lore.kernel.org/r/20221114230227.1255976-18-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions