diff options
author | Lorenz Bauer <[email protected]> | 2020-09-21 13:12:19 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-09-21 15:00:40 -0700 |
commit | 27774b7073b5d520c80f1fcb8e9993fc139f21bd (patch) | |
tree | be5f8f63d682dc423cd87746863a814127400463 /kernel/bpf/stackmap.c | |
parent | 0d004c020b5574e51f7a525e57d2a11958b334b5 (diff) |
btf: Add BTF_ID_LIST_SINGLE macro
Add a convenience macro that allows defining a BTF ID list with
a single item. This lets us cut down on repetitive macros.
Suggested-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Lorenz Bauer <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions