Merge pull request #2681 from elfiesmelfie/feat_pmu_cores
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 18 May 2018 16:43:47 +0000 (18:43 +0200)
committerGitHub <noreply@github.com>
Fri, 18 May 2018 16:43:47 +0000 (18:43 +0200)
intel_pmu: core groups feature

1  2 
src/collectd.conf.pod

diff --combined src/collectd.conf.pod
@@@ -3175,6 -3175,7 +3175,7 @@@ B<Synopsis:
      ReportSoftwareEvents true
      EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
      HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
+     Cores "0-3" "4,6" "[12-15]"
    </Plugin>
  
  B<Options:>
@@@ -3246,6 -3247,23 +3247,23 @@@ event_download.py script to download ev
  This field is a list of event names or groups of comma separated event names.
  This option requires B<EventList> option to be configured.
  
+ =item B<Cores> I<cores groups>
+ All events are reported on a per core basis. Monitoring of the events can be
+ configured for a group of cores (aggregated statistics). This field defines
+ groups of cores on which to monitor supported events. The field is represented
+ as list of strings with core group values. Each string represents a list of
+ cores in a group. If a group is enclosed in square brackets each core is added
+ individually to a separate group (that is statistics are not aggregated).
+ Allowed formats are:
+     0,1,2,3
+     0-10,20-18
+     1,3,5-8,10,0x10-12
+     [4-15,32-63]
+ If an empty string is provided as value for this field default cores
+ configuration is applied - that is separate group is created for each core.
  =back
  
  =head2 Plugin C<intel_rdt>
@@@ -6858,7 -6876,7 +6876,7 @@@ B<Synopsis:
     <ProcessMatch "name" "regex">
       CollectFileDescriptor false
       CollectContextSwitch true
 -   </Process>
 +   </ProcessMatch>
   </Plugin>
  
  =over 4