mbox series

[0/2] lib/bpf hashmap portability and fix

Message ID 20200506205257.8964-1-irogers@google.com
Headers show
Series lib/bpf hashmap portability and fix | expand

Message

Ian Rogers May 6, 2020, 8:52 p.m. UTC
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(-)