diff options
author | 2023-09-25 14:50:36 -0700 | |
---|---|---|
committer | 2023-09-25 16:22:42 -0700 | |
commit | 059a8c0c5acd37ecfa64f1832e8765d30f253ce8 (patch) | |
tree | 121e16ee53c4f30fdcac2e5452510c153c6ce7aa /tools/perf/scripts/python/stackcollapse.py | |
parent | selftests/bpf: Add tests for ring_buffer__ring (diff) | |
download | wireguard-linux-059a8c0c5acd37ecfa64f1832e8765d30f253ce8.tar.xz wireguard-linux-059a8c0c5acd37ecfa64f1832e8765d30f253ce8.zip |
libbpf: Add ring__producer_pos, ring__consumer_pos
Add APIs to get the producer and consumer position for 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-6-martin.kelly@crowdstrike.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions