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>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
* XXX We need to find a better place for these things...
|
||||
*/
|
||||
unsigned int page_size;
|
||||
int cacheline_size;
|
||||
|
||||
bool test_attr__enabled;
|
||||
|
||||
|
Reference in New Issue
Block a user