[SRU Disco 0/2] Fix compilation of net selftests
Stefan Bader
stefan.bader at canonical.com
Wed May 29 10:43:47 UTC 2019
On 29.05.19 12:38, Stefan Bader wrote:
> BugLink: https://bugs.launchpad.net/bugs/1829812
>
> In cf651d7007 "selftests/bpf: skip verifier tests for unsupported
> program types" (v5.0.7) the selftests start to use a function which
> was not backported, yet.
>
> The following 2 patches which were cherry-picked (the second one
> with -C2) from upstream add the required capabilities and probes:
>
> Quentin Monnet (2):
> tools: bpftool: add basic probe capability, probe syscall availability
> tools: bpftool: add probes for eBPF program types
>
> It is somewhat large but most is additions and all to tools sub-
> directory which is not part of the kernel.
Of course hit send too early. This is SRU for Disco/master-next
>
> -Stefan
>
> .../bpftool/Documentation/bpftool-cgroup.rst | 1 +
> .../bpftool/Documentation/bpftool-feature.rst | 60 ++++++
> .../bpf/bpftool/Documentation/bpftool-map.rst | 1 +
> .../bpf/bpftool/Documentation/bpftool-net.rst | 1 +
> .../bpftool/Documentation/bpftool-perf.rst | 1 +
> .../bpftool/Documentation/bpftool-prog.rst | 1 +
> tools/bpf/bpftool/Documentation/bpftool.rst | 1 +
> tools/bpf/bpftool/feature.c | 177 ++++++++++++++++++
> tools/bpf/bpftool/main.c | 3 +-
> tools/bpf/bpftool/main.h | 1 +
> tools/lib/bpf/Build | 2 +-
> tools/lib/bpf/libbpf.h | 11 ++
> tools/lib/bpf/libbpf.map | 5 +
> tools/lib/bpf/libbpf_probes.c | 95 ++++++++++
> 14 files changed, 358 insertions(+), 2 deletions(-)
> create mode 100644 tools/bpf/bpftool/Documentation/bpftool-feature.rst
> create mode 100644 tools/bpf/bpftool/feature.c
> create mode 100644 tools/lib/bpf/libbpf_probes.c
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20190529/9b3d441b/attachment-0001.sig>
More information about the kernel-team
mailing list