commit | 7836e52e518b5e3fd695850f1d4081f756f58406 | [log] [tgz] |
---|---|---|
author | Jiri Olsa <[email protected]> | Sun Jul 21 13:24:20 2019 +0200 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Mon Jul 29 18:34:44 2019 -0300 |
tree | 0dd7986d87a1a7065be0eb472928a648b8825d09 | |
parent | 4b49cce25e719587e934b745fe9bbb5bc8c4ba29 [diff] [blame] |
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 <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Alexey Budankov <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
diff --git a/tools/perf/tests/keep-tracking.c b/tools/perf/tests/keep-tracking.c index 43e55fe..830fb3d 100644 --- a/tools/perf/tests/keep-tracking.c +++ b/tools/perf/tests/keep-tracking.c
@@ -150,7 +150,7 @@ int test__keep_tracking(struct test *test __maybe_unused, int subtest __maybe_un evlist__delete(evlist); } else { perf_cpu_map__put(cpus); - thread_map__put(threads); + perf_thread_map__put(threads); } return err;