]> git.baikalelectronics.ru Git - kernel.git/commit
samples, bpf: Replace bpf_program__title() with bpf_program__section_name()
authorDaniel T. Lee <danieltimlee@gmail.com>
Fri, 4 Sep 2020 06:34:33 +0000 (15:34 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 4 Sep 2020 14:37:48 +0000 (16:37 +0200)
commit698584dffd4bca834ac4733fc6a659a0a0d213e7
tree410116106c57e96dc5a780a039caecff7a7b8ae0
parent8eb629585d2231e90112148009e2a11b0979ca38
samples, bpf: Replace bpf_program__title() with bpf_program__section_name()

From commit 521095842027 ("libbpf: Deprecate notion of BPF program
"title" in favor of "section name""), the term title has been replaced
with section name in libbpf.

Since the bpf_program__title() has been deprecated, this commit
switches this function to bpf_program__section_name(). Due to
this commit, the compilation warning issue has also been resolved.

Fixes: 521095842027 ("libbpf: Deprecate notion of BPF program "title" in favor of "section name"")
Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200904063434.24963-1-danieltimlee@gmail.com
samples/bpf/sockex3_user.c
samples/bpf/spintest_user.c
samples/bpf/tracex5_user.c
samples/bpf/xdp_redirect_cpu_user.c