perf tools: Use DECLARE_BITMAP instead of an open-coded array
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 17 Oct 2009 15:57:18 +0000 (17:57 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 19 Oct 2009 07:26:35 +0000 (09:26 +0200)
commitdb9f11e36d0125a5e3e595ea9ef2e4b89f7e8737
treed0622b32432b06391a3f0ebece4d296a72bd0f3b
parent2ba0825075e76236d22a20decd8e2346a99faabe
perf tools: Use DECLARE_BITMAP instead of an open-coded array

Use DECLARE_BITMAP instead of an open coded array for our bitmap
of featured sections.

This makes the array an unsigned long instead of a u64 but since
we use a 256 bits bitmap, the array size shouldn't vary between
different boxes.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <1255795038-13751-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/header.c
tools/perf/util/header.h
tools/perf/util/include/asm/asm-offsets.h [new file with mode: 0644]
tools/perf/util/include/linux/types.h