aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2025-02-28 22:23:00 +0000
committerNamhyung Kim <[email protected]>2025-03-12 01:55:37 +0000
commiteb7e83a7ca2dba01671c711e1711705e1a15626d (patch)
tree40ba12ea2b125d557b27c277c5e3fd34a75ffe39 /tools/perf/util/python.c
parentperf evlist: Add success path to evlist__create_syswide_maps (diff)
downloadkernel-eb7e83a7ca2dba01671c711e1711705e1a15626d.tar.gz
kernel-eb7e83a7ca2dba01671c711e1711705e1a15626d.zip
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 <[email protected]> Signed-off-by: Ian Rogers <[email protected]> Reviewed-by: Arnaldo Carvalho de Melo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: 6c8310e8380d472c ("perf evsel: Allow evsel__newtp without libtraceevent") Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions