mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-25 21:53:16 +00:00
Add a perf_evlist__for_each_evsel() macro to iterate perf_evsel objects in evlist. Introduce the perf_evlist__next() function to do that without exposing 'struct perf_evlist' internals. 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-48-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
24 lines
449 B
Plaintext
24 lines
449 B
Plaintext
LIBPERF_0.0.1 {
|
|
global:
|
|
libperf_set_print;
|
|
perf_cpu_map__dummy_new;
|
|
perf_cpu_map__get;
|
|
perf_cpu_map__put;
|
|
perf_cpu_map__new;
|
|
perf_cpu_map__read;
|
|
perf_thread_map__new_dummy;
|
|
perf_thread_map__set_pid;
|
|
perf_thread_map__comm;
|
|
perf_thread_map__get;
|
|
perf_thread_map__put;
|
|
perf_evsel__new;
|
|
perf_evsel__init;
|
|
perf_evlist__new;
|
|
perf_evlist__init;
|
|
perf_evlist__add;
|
|
perf_evlist__remove;
|
|
perf_evlist__next;
|
|
local:
|
|
*;
|
|
};
|