kernel_optimize_test/tools/perf/tests
Jiri Olsa 5c30af92f2 libperf: Adopt perf_evsel__read() function from tools/perf
Move the perf_evsel__read() function to libperf as a public interface
together with struct perf_counts_values for returning counter values.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190721112506.12306-65-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-07-29 18:34:46 -03:00
..
attr perf tools: Save bpf_prog_info and BTF of new BPF programs 2019-03-21 11:27:04 -03:00
shell Merge remote-tracking branch 'tip/perf/core' into perf/urgent 2019-07-08 13:06:57 -03:00
.gitignore
attr.c perf tools: Fix diverse comment typos 2018-12-17 14:56:47 -03:00
attr.py perf script python: Add Python3 support to tests/attr.py 2019-02-05 10:31:08 -03:00
backward-ring-buffer.c perf evlist: Rename perf_evlist__disable() to evlist__disable() 2019-07-29 18:34:43 -03:00
bitmap.c libperf: Add perf_cpu_map__new()/perf_cpu_map__read() functions 2019-07-29 18:34:45 -03:00
bp_account.c perf tests: Add missing SPDX headers 2019-06-17 15:57:19 -03:00
bp_signal_overflow.c
bp_signal.c perf tests ARM: Disable breakpoint tests 32-bit 2018-12-17 14:56:27 -03:00
bpf-script-example.c perf tests: Add missing SPDX headers 2019-06-17 15:57:19 -03:00
bpf-script-test-kbuild.c perf tests: Add missing SPDX headers 2019-06-17 15:57:19 -03:00
bpf-script-test-prologue.c perf tests: Add missing SPDX headers 2019-06-17 15:57:19 -03:00
bpf-script-test-relocation.c perf tests: Add missing SPDX headers 2019-06-17 15:57:19 -03:00
bpf.c perf evlist: Rename perf_evlist__disable() to evlist__disable() 2019-07-29 18:34:43 -03:00
Build perf tests: Add missing SPDX headers 2019-06-17 15:57:19 -03:00
builtin-test.c perf test: Auto bump rlimit(MEMLOCK) for BPF test sake 2019-07-09 16:27:01 -03:00
clang.c
code-reading.c libperf: Add perf_evlist__set_maps() function 2019-07-29 18:34:45 -03:00
cpumap.c libperf: Add perf_cpu_map__new()/perf_cpu_map__read() functions 2019-07-29 18:34:45 -03:00
dso-data.c perf test: Fix spelling mistake "leadking" -> "leaking" 2019-05-15 16:36:46 -03:00
dwarf-unwind.c perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
event_update.c libperf: Add own_cpus to struct perf_evsel 2019-07-29 18:34:45 -03:00
event-times.c libperf: Adopt perf_evsel__read() function from tools/perf 2019-07-29 18:34:46 -03:00
evsel-roundtrip-name.c perf evlist: Rename perf_evlist__delete() to evlist__delete() 2019-07-29 18:34:43 -03:00
evsel-tp-sched.c perf evsel: Rename perf_evsel__delete() to evsel__delete() 2019-07-29 18:34:43 -03:00
expr.c perf tools: Use zfree() where applicable 2019-07-09 10:13:27 -03:00
fdarray.c
hists_common.c pref tools: Add missing map.h includes 2019-02-06 10:00:38 -03:00
hists_common.h
hists_cumulate.c perf evlist: Rename perf_evlist__delete() to evlist__delete() 2019-07-29 18:34:43 -03:00
hists_filter.c perf evlist: Rename perf_evlist__delete() to evlist__delete() 2019-07-29 18:34:43 -03:00
hists_link.c perf evlist: Rename perf_evlist__delete() to evlist__delete() 2019-07-29 18:34:43 -03:00
hists_output.c perf evlist: Rename perf_evlist__delete() to evlist__delete() 2019-07-29 18:34:43 -03:00
is_printable_array.c
keep-tracking.c libperf: Add perf_evlist__set_maps() function 2019-07-29 18:34:45 -03:00
kmod-path.c perf tools: Remove ext from struct kmod_path 2018-08-20 08:54:59 -03:00
llvm.c perf tools: Add missing headers, mostly stdlib.h 2019-07-09 10:13:22 -03:00
llvm.h
make perf build tests: Add NO_LIBZSTD=1 to make_minimal 2019-05-15 16:36:49 -03:00
map_groups.c perf tests: Add missing SPDX headers 2019-06-17 15:57:19 -03:00
mem.c perf tests: Add missing SPDX headers 2019-06-17 15:57:19 -03:00
mem2node.c libperf: Add perf_cpu_map__new()/perf_cpu_map__read() functions 2019-07-29 18:34:45 -03:00
mmap-basic.c libperf: Add perf_evlist__set_maps() function 2019-07-29 18:34:45 -03:00
mmap-thread-lookup.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -03:00
openat-syscall-all-cpus.c libperf: Adopt simplified perf_evsel__close() function from tools/perf 2019-07-29 18:34:46 -03:00
openat-syscall-tp-fields.c libperf: Add threads to struct perf_evlist 2019-07-29 18:34:45 -03:00
openat-syscall.c libperf: Adopt simplified perf_evsel__close() function from tools/perf 2019-07-29 18:34:46 -03:00
parse-events.c libperf: Move nr_members from perf's evsel to libperf's perf_evsel 2019-07-29 18:34:46 -03:00
parse-no-sample-id-all.c perf evlist: Rename perf_evlist__delete() to evlist__delete() 2019-07-29 18:34:43 -03:00
perf-hooks.c
perf-record.c perf evlist: Rename perf_evlist__enable() to evlist__enable() 2019-07-29 18:34:43 -03:00
perf-targz-src-pkg
pmu.c perf tests pmu: Add missing headers 2019-02-06 10:00:38 -03:00
python-use.c
sample-parsing.c libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evsel 2019-07-29 18:34:45 -03:00
sdt.c perf tests: Add missing headers so far obtained indirectly 2019-02-06 10:00:38 -03:00
stat.c
sw-clock.c libperf: Add perf_evlist__set_maps() function 2019-07-29 18:34:45 -03:00
switch-tracking.c libperf: Add perf_evlist__set_maps() function 2019-07-29 18:34:45 -03:00
task-exit.c libperf: Add perf_evlist__set_maps() function 2019-07-29 18:34:45 -03:00
tests.h perf tests: Add a test for time-utils 2019-06-10 16:20:12 -03:00
thread-map.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -03:00
thread-mg-share.c
time-utils-test.c perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
topology.c libperf: Add perf_cpu_map__new()/perf_cpu_map__read() functions 2019-07-29 18:34:45 -03:00
unit_number__scnprintf.c
vmlinux-kallsyms.c perf tools: Add missing headers, mostly stdlib.h 2019-07-09 10:13:22 -03:00
wp.c perf test: S390 does not support watchpoints in test 22 2018-10-08 14:23:44 -03:00