projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Unify page_size usage
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
tools
/
perf
/
util
/
python.c
diff --git
a/tools/perf/util/python.c
b/tools/perf/util/python.c
index
71b5412
..
a24ce0a
100644
(file)
--- a/
tools/perf/util/python.c
+++ b/
tools/perf/util/python.c
@@
-1036,6
+1036,7
@@
PyMODINIT_FUNC initperf(void)
pyrf_cpu_map__setup_types() < 0)
return;
+ /* The page_size is placed in util object. */
page_size = sysconf(_SC_PAGE_SIZE);
Py_INCREF(&pyrf_evlist__type);