summaryrefslogtreecommitdiff
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-02-28 14:23:00 -0800
committerNamhyung Kim <namhyung@kernel.org>2025-03-11 18:55:37 -0700
commiteb7e83a7ca2dba01671c711e1711705e1a15626d (patch)
tree40ba12ea2b125d557b27c277c5e3fd34a75ffe39 /tools/perf/util/python.c
parentfe0ce8a9d85a48642880c9b78944cb0d23e779c5 (diff)
perf evsel: tp_format accessing improvements
Ensure evsel__clone copies the tp_sys and tp_name variables. In evsel__tp_format, if tp_sys isn't set, use the config value to find the tp_format. This succeeds in python code where pyrf__tracepoint has already found the format. 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-4-irogers@google.com Fixes: 6c8310e8380d472c ("perf evsel: Allow evsel__newtp without libtraceevent") Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions