mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
56dce86819
The existing API perf_thread_map__new_dummy() allocates new thread map for one thread. I couldn't find a way to reallocate the map with more threads, or to allocate a new map for more than one thread. Having multiple threads in a thread map is essential for some use cases. That's why a new API is proposed, which allocates a new thread map for given number of threads: perf_thread_map__new_array() Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/linux-perf-users/20220221102628.43904-1-tz.stoyanov@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
60 lines
1.3 KiB
Plaintext
60 lines
1.3 KiB
Plaintext
LIBPERF_0.0.1 {
|
|
global:
|
|
libperf_init;
|
|
perf_cpu_map__dummy_new;
|
|
perf_cpu_map__default_new;
|
|
perf_cpu_map__get;
|
|
perf_cpu_map__put;
|
|
perf_cpu_map__new;
|
|
perf_cpu_map__read;
|
|
perf_cpu_map__nr;
|
|
perf_cpu_map__cpu;
|
|
perf_cpu_map__empty;
|
|
perf_cpu_map__max;
|
|
perf_cpu_map__has;
|
|
perf_thread_map__new_array;
|
|
perf_thread_map__new_dummy;
|
|
perf_thread_map__set_pid;
|
|
perf_thread_map__comm;
|
|
perf_thread_map__nr;
|
|
perf_thread_map__pid;
|
|
perf_thread_map__get;
|
|
perf_thread_map__put;
|
|
perf_evsel__new;
|
|
perf_evsel__delete;
|
|
perf_evsel__enable;
|
|
perf_evsel__disable;
|
|
perf_evsel__open;
|
|
perf_evsel__close;
|
|
perf_evsel__mmap;
|
|
perf_evsel__munmap;
|
|
perf_evsel__mmap_base;
|
|
perf_evsel__read;
|
|
perf_evsel__cpus;
|
|
perf_evsel__threads;
|
|
perf_evsel__attr;
|
|
perf_evlist__new;
|
|
perf_evlist__delete;
|
|
perf_evlist__open;
|
|
perf_evlist__close;
|
|
perf_evlist__enable;
|
|
perf_evlist__disable;
|
|
perf_evlist__add;
|
|
perf_evlist__remove;
|
|
perf_evlist__next;
|
|
perf_evlist__set_maps;
|
|
perf_evlist__poll;
|
|
perf_evlist__mmap;
|
|
perf_evlist__munmap;
|
|
perf_evlist__filter_pollfd;
|
|
perf_evlist__next_mmap;
|
|
perf_evlist__set_leader;
|
|
perf_mmap__consume;
|
|
perf_mmap__read_init;
|
|
perf_mmap__read_done;
|
|
perf_mmap__read_event;
|
|
perf_counts_values__scale;
|
|
local:
|
|
*;
|
|
};
|