aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-09-13 18:47:33 -0700
committerAlexei Starovoitov <[email protected]>2021-09-14 15:49:24 -0700
commitb6291a6f30d35bd4459dc35aac2f30669a4356ac (patch)
treebe606ccb8cf5dffa18fbb25b5b8cab1ca0674bfa /tools/perf/scripts/python/intel-pt-events.py
parent5532dfd42e4846e84d346a6dfe01e477e35baa65 (diff)
libbpf: Minimize explicit iterator of section definition array
Remove almost all the code that explicitly iterated BPF program section definitions in favor of using find_sec_def(). The only remaining user of section_defs is libbpf_get_type_names that has to iterate all of them to construct its result. Having one internal API entry point for section definitions will simplify further refactorings around libbpf's program section definitions parsing. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions