bcc community has long discussed that batch
dump, lookup and delete will help its typical
use case, periodically retrieving and deleting
all samples in the kernel. Without batch APIs,
bcc typically does
iterate through all keys (get_next_key API)
get (key, value) pairs
iterate through all keys to delete them
Also, Brian Vazquez
has proposed BPF_MAP_DUMP command to dump
more than one entry per syscall call.
This discussion will propose new bpf subcommands
for map batch processing, e.g., batching
discuss its pros and cons etc.
Looks the subject has been discussed actively in the mailing list.
If the discussion reached its maturity, we may not need to discuss
in the conference.
|I agree to abide by the anti-harassment policy||Yes|