From: Kamil Wiatrowski Date: Tue, 18 Aug 2020 12:41:43 +0000 (+0100) Subject: intel_pmu 2.0 - update collectd.conf.pod X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa5013b7027fa92fa334203ab6d64c0d7fc7f6a8;p=thirdparty%2Fcollectd.git intel_pmu 2.0 - update collectd.conf.pod Update collectd.conf.pod for new version of intel_pmu. Change-Id: I297e6c3909a54d2a24737517bde2b0e4b192e7fe Signed-off-by: Kamil Wiatrowski --- diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 80e0d0492..2871d4b3c 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -3881,12 +3881,11 @@ Linux perf interface. All events are reported on a per core basis. B - ReportHardwareCacheEvents true - ReportKernelPMUEvents true - 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]" + HardwareEvents "L2_RQSTS.PF_MISS" + Cores "[1,2]" DispatchMultiPmu false @@ -3894,60 +3893,6 @@ B =over 4 -=item B B|B - -Enable or disable measuring of hardware CPU cache events: - - L1-dcache-loads - - L1-dcache-load-misses - - L1-dcache-stores - - L1-dcache-store-misses - - L1-dcache-prefetches - - L1-dcache-prefetch-misses - - L1-icache-loads - - L1-icache-load-misses - - L1-icache-prefetches - - L1-icache-prefetch-misses - - LLC-loads - - LLC-load-misses - - LLC-stores - - LLC-store-misses - - LLC-prefetches - - LLC-prefetch-misses - - dTLB-loads - - dTLB-load-misses - - dTLB-stores - - dTLB-store-misses - - dTLB-prefetches - - dTLB-prefetch-misses - - iTLB-loads - - iTLB-load-misses - - branch-loads - - branch-load-misses - -=item B B|B - -Enable or disable measuring of the following events: - - cpu-cycles - - instructions - - cache-references - - cache-misses - - branches - - branch-misses - - bus-cycles - -=item B B|B - -Enable or disable measuring of software events provided by kernel: - - cpu-clock - - task-clock - - context-switches - - cpu-migrations - - page-faults - - minor-faults - - major-faults - - alignment-faults - - emulation-faults - =item B I JSON performance counter event list file name. To be able to monitor all Intel @@ -3957,7 +3902,10 @@ event_download.py script to download event list for current CPU. =item B I This field is a list of event names or groups of comma separated event names. -This option requires B option to be configured. +This option requires B option to be configured. If "All" is +provided, all events from B are going to be loaded. This option +can be used multiple times in pair with B option, as shown in example +above. =item B I @@ -3975,12 +3923,14 @@ Allowed formats are: 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. +This option can be used once for every B set. =item B B|B Enable or disable dispatching of cloned multi PMU for uncore events. If disabled only total sum is dispatched as single event. If enabled separate -metric is dispatched for every counter. +metric is dispatched for every counter. Name of particular PMU counter is +added to I. =back diff --git a/src/types.db b/src/types.db index 442a2548c..2e4a41c7c 100644 --- a/src/types.db +++ b/src/types.db @@ -222,7 +222,7 @@ ping value:GAUGE:0:65535 ping_droprate value:GAUGE:0:1 ping_stddev value:GAUGE:0:65535 players value:GAUGE:0:1000000 -pmu_counter scaled:COUNTER:0:U, raw:COUNTER:0:U, enabled:COUNTER:0:U ,running:COUNTER:0:U +pmu_counter scaled:COUNTER:0:U, raw:COUNTER:0:U, enabled:COUNTER:0:U, running:COUNTER:0:U pools value:GAUGE:0:U power value:GAUGE:U:U pressure value:GAUGE:0:U