• Arnaldo Carvalho de Melo's avatar
    perf tools: Update copy of libbpf's hashmap.c · 4d4d00dd
    Arnaldo Carvalho de Melo authored
    To pick the changes in:
    
      fba60b17 ("libbpf: Use IS_ERR_OR_NULL() in hashmap__free()")
    
    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: Andrii Nakryiko <andrii@kernel.org>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Mauricio Vásquez <mauricio@kinvolk.io>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Link: http://lore.kernel.org/lkml/YkMb2SAIai2VeuUD@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    4d4d00dd
hashmap.c 4.97 KB