OpenCloudOS-Kernel/tools/lib/perf/Documentation
Tzvetomir Stoyanov (VMware) 56dce86819 libperf: Add API for allocating new thread map array
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>
2022-02-23 14:40:23 -03:00
..
examples libperf: Add counting example 2020-03-04 10:34:10 -03:00
Makefile libperf: Add man pages 2020-01-06 11:46:09 -03:00
asciidoc.conf libperf: Add man pages 2020-01-06 11:46:09 -03:00
libperf-counting.txt libperf: Fix man page typos 2020-08-13 09:34:26 -03:00
libperf-sampling.txt libperf: Fix man page typos 2020-08-13 09:34:26 -03:00
libperf.txt libperf: Add API for allocating new thread map array 2022-02-23 14:40:23 -03:00
manpage-1.72.xsl libperf: Add man pages 2020-01-06 11:46:09 -03:00
manpage-base.xsl libperf: Add man pages 2020-01-06 11:46:09 -03:00
manpage-bold-literal.xsl libperf: Add man pages 2020-01-06 11:46:09 -03:00
manpage-normal.xsl libperf: Add man pages 2020-01-06 11:46:09 -03:00
manpage-suppress-sp.xsl libperf: Add man pages 2020-01-06 11:46:09 -03:00