linux_dsm_epyc7002/tools/perf/arch/x86/tests
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
..
arch-tests.c perf intel-pt: Add Intel PT packet decoder test 2019-06-17 15:57:17 -03:00
bp-modify.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
Build perf intel-pt: Add Intel PT packet decoder test 2019-06-17 15:57:17 -03:00
dwarf-unwind.c
gen-insn-x86-dat.awk
gen-insn-x86-dat.sh
insn-x86-dat-32.c
insn-x86-dat-64.c
insn-x86-dat-src.c
insn-x86.c perf intel-pt: Use shared x86 insn decoder 2019-08-31 22:27:52 -03:00
intel-cqm.c libperf: Move 'page_size' global variable to libperf 2019-09-25 09:51:48 -03:00
intel-pt-pkt-decoder-test.c perf intel-pt: Add Intel PT packet decoder test 2019-06-17 15:57:17 -03:00
perf-time-to-tsc.c libperf: Add perf_evlist__first()/last() functions 2019-09-25 09:51:48 -03:00
rdpmc.c libperf: Move 'page_size' global variable to libperf 2019-09-25 09:51:48 -03:00
regs_load.S