aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMartin Kelly <[email protected]>2024-02-21 13:18:38 -0800
committerMartin KaFai Lau <[email protected]>2024-02-22 10:24:38 -0800
commit58fd62e0aa50fdd20bc41a01e787001f3af8a925 (patch)
tree1fb68a2bc562186287c461a7c1382697e8e19b69 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent89ee838130f470afcd02b30ca868f236a3f3b1d2 (diff)
bpf: Clarify batch lookup/lookup_and_delete semantics
The batch lookup and lookup_and_delete APIs have two parameters, in_batch and out_batch, to facilitate iterative lookup/lookup_and_deletion operations for supported maps. Except NULL for in_batch at the start of these two batch operations, both parameters need to point to memory equal or larger than the respective map key size, except for various hashmaps (hash, percpu_hash, lru_hash, lru_percpu_hash) where the in_batch/out_batch memory size should be at least 4 bytes. Document these semantics to clarify the API. Signed-off-by: Martin Kelly <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions