Merge branch 'Make BPF skeleton easier to use from C++ code'
authorAlexei Starovoitov <ast@kernel.org>
Tue, 15 Feb 2022 17:59:01 +0000 (09:59 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 15 Feb 2022 17:59:02 +0000 (09:59 -0800)
commitd2b94f33e43727c17ed2816c1bfa10e6bc4f4be3
treee0c190cad0dc273b1d371bf8b8d567a9ee657b5e
parentd3b0b80064e0416850f818184b8f7bba9fdf8c40
parent189e0ecabc1717db62deab751afa755f07bdbcf8
Merge branch 'Make BPF skeleton easier to use from C++ code'

Andrii Nakryiko says:

====================

Add minimal C++-specific additions to BPF skeleton codegen to facilitate
easier use of C skeletons in C++ applications. These additions don't add any
extra ongoing maintenance and allows C++ users to fit pure C skeleton better
into their C++ code base. All that without the need to design, implement and
support a separate C++ BPF skeleton implementation.

v1->v2:
  - use default argument values in T::open() (Alexei).
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>