mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 16:26:43 +07:00
267ed5d859
The kernel perf subsystem has to IPI to the target CPU for many operations. On systems with many CPUs and when managing many events the overhead can be dominated by lots of IPIs. An alternative is to set up CPU affinity in the perf tool, then set up all the events for that CPU, and then move on to the next CPU. Add some affinity management infrastructure to enable such a model. Used in followon patches. Committer notes: Use zfree() in some places, add missing stdbool.h header, some minor coding style changes. Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: http://lore.kernel.org/lkml/20191121001522.180827-3-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
37 lines
655 B
Plaintext
37 lines
655 B
Plaintext
#
|
|
# List of files needed by perf python extension
|
|
#
|
|
# Each source file must be placed on its own line so that it can be
|
|
# processed by Makefile and util/setup.py accordingly.
|
|
#
|
|
|
|
util/python.c
|
|
../lib/ctype.c
|
|
util/cap.c
|
|
util/evlist.c
|
|
util/evsel.c
|
|
util/perf_event_attr_fprintf.c
|
|
util/cpumap.c
|
|
util/memswap.c
|
|
util/mmap.c
|
|
util/namespaces.c
|
|
../lib/bitmap.c
|
|
../lib/find_bit.c
|
|
../lib/hweight.c
|
|
../lib/string.c
|
|
../lib/vsprintf.c
|
|
util/thread_map.c
|
|
util/util.c
|
|
util/cgroup.c
|
|
util/parse-branch-options.c
|
|
util/rblist.c
|
|
util/counts.c
|
|
util/print_binary.c
|
|
util/strlist.c
|
|
util/trace-event.c
|
|
../lib/rbtree.c
|
|
util/string.c
|
|
util/symbol_fprintf.c
|
|
util/units.c
|
|
util/affinity.c
|