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

From: Ian Rogers
Date: Wed May 06 2020 - 16:53:03 EST


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(-)

--
2.26.2.526.g744177e7f7-goog