perf tools: Add support to dynamically get cacheline size
authorDon Zickus <dzickus@redhat.com>
Fri, 30 May 2014 20:10:05 +0000 (16:10 -0400)
committerJiri Olsa <jolsa@kernel.org>
Mon, 9 Jun 2014 11:34:48 +0000 (13:34 +0200)
commit2b1b71003ea809e619bd73e74dfc2a73069de66f
tree314e28161d9cebf3630eaf46b9096abb73e3316a
parent7365be55eee37ddb4f487263b4ba5bc8beb9638f
perf tools: Add support to dynamically get cacheline size

Different arches may have different cacheline sizes.  Look it up and set
a global variable for reference.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Link: http://lkml.kernel.org/r/1401480605-97442-1-git-send-email-dzickus@redhat.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/perf.c
tools/perf/util/util.c
tools/perf/util/util.h