perf tools: Unify page_size usage
[platform/adaptation/renesas_rcar/renesas_kernel.git] / tools / perf / util / python.c
index 71b5412..a24ce0a 100644 (file)
@@ -1036,6 +1036,7 @@ PyMODINIT_FUNC initperf(void)
            pyrf_cpu_map__setup_types() < 0)
                return;
 
            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);
        page_size = sysconf(_SC_PAGE_SIZE);
 
        Py_INCREF(&pyrf_evlist__type);