Skip to content

lib/bpf hashmap portability and fix

Ian Rogers bpf lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/bpf hashmap: increase portabilitytools/lib/bpf/hashmap.h+1 -24 replies
2/2lib/bpf hashmap: fixes to hashmap__cleartools/lib/bpf/hashmap.c+6 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] lib/bpf hashmap portability and fix

I'm experimenting with hashmap in perf for perf events within a metric expression. In doing this I encountered some issues with lib/bpf hashmap. Ignoring the perf change, I think these fixes are likely still worthwhile. Thanks!

Ian Rogers (2):
lib/bpf hashmap: increase portability
lib/bpf hashmap: fixes to hashmap__clear

 tools/lib/bpf/hashmap.c | 6 ++++++
 tools/lib/bpf/hashmap.h | 3 +--
 2 files changed, 7 insertions(+), 2 deletions(-)
Signature · 1 line
2.26.2.526.g744177e7f7-goog