Recent pmlogextract changes have exposed this badness in the linux pmda ... the
assignment of PMIDs and PMNS names for the kernel.percpu.interrupts metrics ...
is all over the shop.
This pmda needs to be fixed so that in the absence of any sane semantics for
this data (kernel.percpu.interrupts.lineN is not really helpful for most
mortals), the mapping from PMNS to PMID needs to be fixed and deterministic.
The diffs below come from consecutive pmlogger runs on the same machine.
kenj@bozo:/var/log/pcp/pmlogger/bozo$ diff -u /tmp/2*.desc---
/tmp/20150112.00.10.desc 2015-01-13 08:59:13.453199625 +1100
+++ /tmp/20150112.21.18.desc 2015-01-13 08:59:07.213199454 +1100
@@ -371,79 +371,83 @@
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line7 PMID: 60.49.2
+kernel.percpu.interrupts.line4 PMID: 60.49.2
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line8 PMID: 60.49.3
+kernel.percpu.interrupts.line7 PMID: 60.49.3
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line9 PMID: 60.49.4
+kernel.percpu.interrupts.line8 PMID: 60.49.4
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line14 PMID: 60.49.5
+kernel.percpu.interrupts.line9 PMID: 60.49.5
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line15 PMID: 60.49.6
+kernel.percpu.interrupts.line14 PMID: 60.49.6
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line16 PMID: 60.49.7
+kernel.percpu.interrupts.line15 PMID: 60.49.7
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line17 PMID: 60.49.8
+kernel.percpu.interrupts.line16 PMID: 60.49.8
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line18 PMID: 60.49.9
+kernel.percpu.interrupts.line17 PMID: 60.49.9
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line43 PMID: 60.49.10
+kernel.percpu.interrupts.line18 PMID: 60.49.10
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line44 PMID: 60.49.11
+kernel.percpu.interrupts.line43 PMID: 60.49.11
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line45 PMID: 60.49.12
+kernel.percpu.interrupts.line44 PMID: 60.49.12
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line46 PMID: 60.49.13
+kernel.percpu.interrupts.line45 PMID: 60.49.13
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line47 PMID: 60.49.14
+kernel.percpu.interrupts.line46 PMID: 60.49.14
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line48 PMID: 60.49.15
+kernel.percpu.interrupts.line47 PMID: 60.49.15
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line49 PMID: 60.49.16
+kernel.percpu.interrupts.line48 PMID: 60.49.16
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line50 PMID: 60.49.17
+kernel.percpu.interrupts.line49 PMID: 60.49.17
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line51 PMID: 60.49.18
+kernel.percpu.interrupts.line50 PMID: 60.49.18
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line52 PMID: 60.49.19
+kernel.percpu.interrupts.line51 PMID: 60.49.19
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
-kernel.percpu.interrupts.line53 PMID: 60.49.20
+kernel.percpu.interrupts.line52 PMID: 60.49.20
+ Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
+ Semantics: counter Units: count
+
+kernel.percpu.interrupts.line53 PMID: 60.49.21
Data Type: 32-bit unsigned int InDom: 60.0 0xf000000
Semantics: counter Units: count
|