aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorAndrea Righi <[email protected]>2024-04-06 11:15:43 +0200
committerAndrii Nakryiko <[email protected]>2024-04-06 09:11:55 -0700
commit4d22ea94ea33550538b3b14429d52cb9f96ad2c3 (patch)
treebe1f6764f6ef5a655bb0d2e5d60bf7c99659a9ae /tools/perf/scripts/python/compaction-times.py
parent13e8125a22763557d719db996f70c71f77c9509c (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