perf tests: Use ARRAY_SIZE() were applicable
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 18 Jan 2013 20:03:43 +0000 (17:03 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:51 +0000 (16:40 -0300)
commitbe651ed98dd362fa4151f49f917c74e9e8da88ac
tree38cef5d0eb439ad87e4d28cc495d856d0fea7f68
parent23b6339b914ec009ba206584a410039b589243aa
perf tests: Use ARRAY_SIZE() were applicable

We were using a homebrew equivalent, use the macro that is used
everywhere for this function.

Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-bp3wokafua1ecairau77jcy0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/pmu.c