diff options
author | Ian Rogers <irogers@google.com> | 2025-02-28 14:23:05 -0800 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-03-11 18:55:38 -0700 |
commit | 9e9472c148b8c61ed5eb50eea3277e779bf601fe (patch) | |
tree | 32bfa31e21395bcf6d5d91b2d36800c474addc90 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 07fc231617378bd74b54661615a3e4772b514ed1 (diff) |
perf python: Avoid duplicated code in get_tracepoint_field
The code replicates computations done in evsel__tp_format, reuse
evsel__tp_format to simplify the python C code.
Reviewed-by: Howard Chu <howardchu95@gmail.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20250228222308.626803-9-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions