intel_pmu plugin: implement core groups option
authorKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Tue, 8 Aug 2017 14:04:46 +0000 (15:04 +0100)
committerKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Mon, 19 Feb 2018 08:11:19 +0000 (08:11 +0000)
commitbdcb53df8ca1e24732204d519aa87888b603c280
tree39ee213514427184b202c35110ab96ba26bb20ae
parenta68a482c6ea1900e4f758019117a6856737ff34d
intel_pmu plugin: implement core groups option

Having this option will allow to configure monitoring of PMU
events only on specific CPUs thus decrease number of opened
descriptors significantly and avoid 'Too many open files' errors.
New "Cores" option is similar to that available in intel_rdt plugin.
New tool utils_config_cores is added to parse "Cores" option.

Change-Id: I8f792e1f2560c4cf19aee101fdb07c925d682778
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
Makefile.am
src/collectd.conf.in
src/collectd.conf.pod
src/intel_pmu.c
src/utils_config_cores.c [new file with mode: 0644]
src/utils_config_cores.h [new file with mode: 0644]
src/utils_config_cores_test.c [new file with mode: 0644]