• Arnaldo Carvalho de Melo's avatar
    perf tools: Update copy of libbpf's hashmap.c · e555b4b8
    Arnaldo Carvalho de Melo authored
    To pick the changes in:
    
      85367030 ("libbpf: Centralize poisoning and poison reallocarray()")
      7d9c71e1 ("libbpf: Extract generic string hashing function for reuse")
    
    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: Alexei Starovoitov <ast@kernel.org>
    Cc: Andrii Nakryiko <andriin@fb.com>
    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>
    e555b4b8
hashmap.h 5.77 KB