• Arnaldo Carvalho de Melo's avatar
    perf tools: Update copy of libbpf's hashmap.c · 3b13eaf0
    Arnaldo Carvalho de Melo authored
    To pick the changes in:
    
      7a078d2d ("libbpf, hashmap: Fix undefined behavior in hash_bits")
    
    That don't entail any changes in tools/perf.
    
    This addresses this perf build warning:
    
      Warning: Kernel ABI header at 'tools/perf/util/hashmap.h' differs from latest version at 'tools/lib/bpf/hashmap.h'
      diff -u tools/perf/util/hashmap.h tools/lib/bpf/hashmap.h
    
    Not a kernel ABI, its just that this uses the mechanism in place for
    checking kernel ABI files drift.
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Daniel Borkmann <daniel@iogearbox.net>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    3b13eaf0
hashmap.h 5.75 KB