]> granicus.if.org Git - sysstat/commitdiff
A_IRQ: Update DTD and XSD documents
authorSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 8 Feb 2022 13:53:12 +0000 (14:53 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 8 Feb 2022 13:53:12 +0000 (14:53 +0100)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sadf.h
xml/sysstat-3.10.dtd
xml/sysstat.xsd

diff --git a/sadf.h b/sadf.h
index 18fd06644ac10ef677e25c0987d0c19c3aa31335..04d3888535e290dbfb0fb56bc2fb4c8b5ecfe19a 100644 (file)
--- a/sadf.h
+++ b/sadf.h
@@ -9,7 +9,7 @@
 #include "sa.h"
 
 /* DTD version for XML output */
-#define XML_DTD_VERSION        "3.9"
+#define XML_DTD_VERSION        "3.10"
 
 /* Various constants */
 #define DO_SAVE                0
index 87768c0b5b9959b1231e6eb3198caf6128d5d93b..274bd365cc85effac321d7afc93ccc41d1c11f15 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--DTD v3.9 for sysstat. See sadf.h -->
+<!--DTD v3.10 for sysstat. See sadf.h -->
 
 <!ELEMENT sysstat (sysdata-version, host)>
 <!ATTLIST sysstat
@@ -98,6 +98,7 @@
 <!ELEMENT irq EMPTY>
 <!ATTLIST irq
        intr CDATA #REQUIRED
+       cpu CDATA #IMPLIED
        value CDATA #REQUIRED
 >
 
index edf422c404f38d587585cf0d4a737538951fcf11..f1163b0e602062e96594e74a9b5b090173747900 100644 (file)
 <xs:element name="irq" type="irq-type"></xs:element>
 <xs:complexType name="irq-type">
        <xs:attribute name="intr" type="xs:string" use="required"></xs:attribute>
+       <xs:attribute name="cpu" type="xs:string"></xs:attribute>
        <xs:attribute name="value" type="hundredth-type" use="required"></xs:attribute>
 </xs:complexType>