summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.map
diff options
context:
space:
mode:
authorMartin Kelly <martin.kelly@crowdstrike.com>2023-09-25 23:50:34 +0200
committerAndrii Nakryiko <andrii@kernel.org>2023-09-26 01:22:42 +0200
commit1c97f6afd73934881ae8514c51efc8e162b4b406 (patch)
treeddb46398ee77cdddd56d4ca5380a8694141856bb /tools/lib/bpf/libbpf.map
parentlibbpf: Switch rings to array of pointers (diff)
downloadlinux-1c97f6afd73934881ae8514c51efc8e162b4b406.tar.xz
linux-1c97f6afd73934881ae8514c51efc8e162b4b406.zip
libbpf: Add ring_buffer__ring
Add a new function ring_buffer__ring, which exposes struct ring * to the user, representing a single ringbuffer. Signed-off-by: Martin Kelly <martin.kelly@crowdstrike.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20230925215045.2375758-4-martin.kelly@crowdstrike.com
Diffstat (limited to 'tools/lib/bpf/libbpf.map')
-rw-r--r--tools/lib/bpf/libbpf.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map
index 57712321490f..7a7370c2bc25 100644
--- a/tools/lib/bpf/libbpf.map
+++ b/tools/lib/bpf/libbpf.map
@@ -400,4 +400,5 @@ LIBBPF_1.3.0 {
bpf_program__attach_netfilter;
bpf_program__attach_tcx;
bpf_program__attach_uprobe_multi;
+ ring_buffer__ring;
} LIBBPF_1.2.0;