ACK: [PATCH 0/2] Fix compilation of net selftests

Connor Kuehl connor.kuehl at canonical.com
Mon Jun 3 18:11:34 UTC 2019


On 5/29/19 3:38 AM, 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.
> 
> -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
> 

Acked-by: Connor Kuehl <connor.kuehl at canonical.com>

-- 
Connor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 5950 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20190603/79d4506a/attachment.key>


More information about the kernel-team mailing list