tools: rename bitmap_alloc() to bitmap_zalloc()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 8 Sep 2021 02:59:35 +0000 (19:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Sep 2021 18:50:27 +0000 (11:50 -0700)
commit7fc5b571325f1bcbe1ce384409b2d05546431b04
treeda4da5c571e33a70899f3505e577b0711c47168b
parent44e5599775541eb5e25d6dfb01d9abbd5ad79823
tools: rename bitmap_alloc() to bitmap_zalloc()

Rename bitmap_alloc() to bitmap_zalloc() in tools to follow the bitmap API
in the kernel.

No functional changes intended.

Link: https://lkml.kernel.org/r/20210814211713.180533-14-yury.norov@gmail.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Suggested-by: Yury Norov <yury.norov@gmail.com>
Acked-by: Yury Norov <yury.norov@gmail.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Lobakin <alobakin@pm.me>
Cc: Alexey Klimov <aklimov@redhat.com>
Cc: Dennis Zhou <dennis@kernel.org>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 files changed:
tools/include/linux/bitmap.h
tools/perf/bench/find-bit-bench.c
tools/perf/builtin-c2c.c
tools/perf/builtin-record.c
tools/perf/tests/bitmap.c
tools/perf/tests/mem2node.c
tools/perf/util/affinity.c
tools/perf/util/header.c
tools/perf/util/metricgroup.c
tools/perf/util/mmap.c
tools/testing/selftests/kvm/dirty_log_perf_test.c
tools/testing/selftests/kvm/dirty_log_test.c
tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c