libbpf: Add __noinline macro to bpf_helpers.h
authorAndrii Nakryiko <andriin@fb.com>
Thu, 20 Aug 2020 23:12:37 +0000 (16:12 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 21 Aug 2020 22:40:22 +0000 (15:40 -0700)
commit819c23af561c4dc8c35faaacacdfa9ba81bacf5f
treeb51ad26cd794b10c8734826850d790caadb1b959
parent88a82120282bdef4c331e20991e3057f417beae4
libbpf: Add __noinline macro to bpf_helpers.h

__noinline is pretty frequently used, especially with BPF subprograms, so add
them along the __always_inline, for user convenience and completeness.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200820231250.1293069-4-andriin@fb.com
tools/lib/bpf/bpf_helpers.h