linux/tools/perf/tests
Jiri Olsa 7836e52e51 libperf: Add perf_thread_map__get()/perf_thread_map__put()
Move the following functions:

  thread_map__get()
  thread_map__put()
  thread_map__comm()

to libperf with the following names:

  perf_thread_map__get()
  perf_thread_map__put()
  perf_thread_map__comm()

Add the perf_thread_map__comm() function for it to work/compile.

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-34-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-07-29 18:34:44 -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 perf test: Add libbpf relocation checker 2016-01-26 12:10:55 -03:00
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__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -03:00
bp_account.c perf tests: Add missing SPDX headers 2019-06-17 15:57:19 -03:00
bp_signal_overflow.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
code-reading.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -03:00
cpumap.c libperf: Add perf_cpu_map__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -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 perf_cpu_map__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -03:00
event-times.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hists_common.c pref tools: Add missing map.h includes 2019-02-06 10:00:38 -03:00
hists_common.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
keep-tracking.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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
mem2node.c libperf: Add perf_cpu_map__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -03:00
mem.c perf tests: Add missing SPDX headers 2019-06-17 15:57:19 -03:00
mmap-basic.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -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: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -03:00
openat-syscall-tp-fields.c libperf: Add perf_thread_map__new_dummy() function 2019-07-29 18:34:44 -03:00
openat-syscall.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -03:00
parse-events.c perf evlist: Rename perf_evlist__delete() to evlist__delete() 2019-07-29 18:34:43 -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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
perf-record.c perf evlist: Rename perf_evlist__enable() to evlist__enable() 2019-07-29 18:34:43 -03:00
perf-targz-src-pkg License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pmu.c perf tests pmu: Add missing headers 2019-02-06 10:00:38 -03:00
python-use.c perf test: Use header file util/debug.h 2018-06-04 10:28:53 -03:00
sample-parsing.c perf evsel: Rename struct perf_evsel to struct evsel 2019-07-29 18:34:42 -03:00
sdt.c perf tests: Add missing headers so far obtained indirectly 2019-02-06 10:00:38 -03:00
stat.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sw-clock.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -03:00
switch-tracking.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -03:00
task-exit.c libperf: Add perf_thread_map__get()/perf_thread_map__put() 2019-07-29 18:34:44 -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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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__get()/perf_cpu_map__put() 2019-07-29 18:34:44 -03:00
unit_number__scnprintf.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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