tools lib: Add bitmap_alloc function
authorJiri Olsa <jolsa@redhat.com>
Tue, 2 Aug 2016 11:33:02 +0000 (13:33 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 2 Aug 2016 19:33:26 +0000 (16:33 -0300)
commit98c032967a299ee4bf14ef19eded02b65df32e6f
treea65d6bc10246f369c7cb62e3f3942a3e5593e4ef
parent979a70a237efb68e15b1cee36f9f92037e71d1fd
tools lib: Add bitmap_alloc function

Adding bitmap_alloc function to dynamically allocate bitmap.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20160802113302.GA7479@krava
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/bitmap.h