summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-09-08 11:01:27 -0700
committerAlexei Starovoitov <ast@kernel.org>2020-09-09 11:28:28 -0700
commit8081ede1f73139687a75147d529cebcc5e4149c5 (patch)
tree83a48c9e6636406f0d1451cd23fb4f0feb760740 /include
parent7fb5eefd76394cfefb380724a87ca40b47d44405 (diff)
perf: Stop using deprecated bpf_program__title()
Switch from deprecated bpf_program__title() API to bpf_program__section_name(). Also drop unnecessary error checks because neither bpf_program__title() nor bpf_program__section_name() can fail or return NULL. Fixes: 521095842027 ("libbpf: Deprecate notion of BPF program "title" in favor of "section name"") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Reviewed-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Jiri Olsa <jolsa@redhat.com> Link: https://lore.kernel.org/bpf/20200908180127.1249-1-andriin@fb.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions