diff options
author | Martin Kelly <martin.kelly@crowdstrike.com> | 2023-09-25 14:50:42 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2023-09-25 16:22:43 -0700 |
commit | ae769390377adaec2798bd1a69171f00d0a25be0 (patch) | |
tree | d871b46e6aecdf6713851c91925f019eb93f90dd /tools/lib/bpf/libbpf.map | |
parent | bb32dd2c8fec71990bbc231aac934e1c73a17341 (diff) | |
download | linux-stable-ae769390377adaec2798bd1a69171f00d0a25be0.tar.gz linux-stable-ae769390377adaec2798bd1a69171f00d0a25be0.tar.bz2 linux-stable-ae769390377adaec2798bd1a69171f00d0a25be0.zip |
libbpf: Add ring__map_fd
Add ring__map_fd to get the file descriptor underlying a given
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-12-martin.kelly@crowdstrike.com
Diffstat (limited to 'tools/lib/bpf/libbpf.map')
-rw-r--r-- | tools/lib/bpf/libbpf.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map index a116d0bb3c5d..1b4225327ab6 100644 --- a/tools/lib/bpf/libbpf.map +++ b/tools/lib/bpf/libbpf.map @@ -402,6 +402,7 @@ LIBBPF_1.3.0 { bpf_program__attach_uprobe_multi; ring__avail_data_size; ring__consumer_pos; + ring__map_fd; ring__producer_pos; ring__size; ring_buffer__ring; |