perf tools: Update copy of libbpf's hashmap.c
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Oct 2020 15:26:45 +0000 (12:26 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 1 Apr 2022 19:19:34 +0000 (16:19 -0300)
commit4d4d00dd321f2c9c1ce35ec2a1d32515371af009
treee36a4ba1ea4bc4a4a3e53c0e51fb542866210c60
parent8a96f454f566857290867fb3943ffc37ea7d50d2
perf tools: Update copy of libbpf's hashmap.c

To pick the changes in:

  fba60b171a032283 ("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.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hashmap.c