diff options
author | 2019-10-21 14:49:12 +0200 | |
---|---|---|
committer | 2019-10-21 14:49:17 +0200 | |
commit | 46a4a97063a0e9a1725ba33ae5ac5603a979ad06 (patch) | |
tree | 0a145a5dc6d4fd9502b3dff7adf4319f93bba302 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools, bpf: Rename pr_warning to pr_warn to align with kernel logging (diff) | |
parent | selftest/bpf: Get rid of a bunch of explicit BPF program type setting (diff) | |
download | linux-dev-46a4a97063a0e9a1725ba33ae5ac5603a979ad06.tar.xz linux-dev-46a4a97063a0e9a1725ba33ae5ac5603a979ad06.zip |
Merge branch 'bpf-libbpf-cleanups'
Andrii Nakryiko says:
====================
This patch set's main goal is to teach bpf_object__open() (and its variants)
to automatically derive BPF program type/expected attach type from section
names, similarly to how bpf_prog_load() was doing it. This significantly
improves user experience by eliminating yet another
obvious-only-in-the-hindsight surprise, when using libbpf APIs.
There are a bunch of auxiliary clean-ups and improvements. E.g.,
bpf_program__get_type() and bpf_program__get_expected_attach_type() are added
for completeness and symmetry with corresponding setter APIs. Some clean up
and fixes in selftests/bpf are done as well.
====================
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions