linux/tools/perf/arch/arm64
Jiri Olsa 20f2be1d48 libperf: Move 'page_size' global variable to libperf
We need the 'page_size' variable in libperf, so move it there.

Add a libperf_init() as a global libperf init function to obtain this
value via sysconf() at tool start.

Committer notes:

Add internal/lib.h to tools/perf/ files using 'page_size', sometimes
replacing util.h with it if that was the only reason for having util.h
included.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lore.kernel.org/lkml/20190913132355.21634-33-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-09-25 09:51:48 -03:00
..
annotate perf auxtrace: Uninline functions that touch perf_session 2019-08-31 22:24:10 -03:00
entry/syscalls perf arm64: Fix mksyscalltbl when system kernel headers are ahead of the kernel 2019-05-28 09:49:03 -03:00
include perf tools arm64: Add libdw DWARF post unwind support for ARM64 2018-03-16 13:53:46 -03:00
tests perf tests arm64: Compile tests unconditionally 2019-06-17 15:57:16 -03:00
util libperf: Move 'page_size' global variable to libperf 2019-09-25 09:51:48 -03:00
Build perf tests arm64: Compile tests unconditionally 2019-06-17 15:57:16 -03:00
Makefile perf arm64: Fix include path for asm-generic/unistd.h 2018-08-30 14:49:24 -03:00