diff options
| author | Andrea Righi <[email protected]> | 2024-04-06 11:15:43 +0200 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-04-06 09:11:55 -0700 |
| commit | 4d22ea94ea33550538b3b14429d52cb9f96ad2c3 (patch) | |
| tree | be1f6764f6ef5a655bb0d2e5d60bf7c99659a9ae /tools/perf/scripts/python/compaction-times.py | |
| parent | 13e8125a22763557d719db996f70c71f77c9509c (diff) | |
libbpf: Add ring__consume_n / ring_buffer__consume_n
Introduce a new API to consume items from a ring buffer, limited to a
specified amount, and return to the caller the actual number of items
consumed.
Signed-off-by: Andrea Righi <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/T
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions