perf tools: Use ARRAY_SIZE in mem sort display functions
authorJiri Olsa <jolsa@kernel.org>
Mon, 15 Feb 2016 08:34:42 +0000 (09:34 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Feb 2016 15:19:10 +0000 (12:19 -0300)
commitb19a1b6a233ede3ffc379b49e3653d6ce80dd743
tree11825fb38ce6695d7aa2ac40f942503a3e84cda0
parentce1e22b08f0728e840614d3d0fc43fd1d6b7f7a2
perf tools: Use ARRAY_SIZE in mem sort display functions

There's no need to define extra macros for that.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1455525293-8671-13-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c