]> granicus.if.org Git - sysstat/commitdiff
Softnet backlog: Update DTD and XSD documents
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 26 Mar 2022 14:33:08 +0000 (15:33 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 26 Mar 2022 14:33:08 +0000 (15:33 +0100)
Update DTD and XSD documents to take into account new softnet backlog
length metric (A_NET_SOFT).

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sadf.h
xml/sysstat-3.11.dtd [moved from xml/sysstat-3.10.dtd with 99% similarity]
xml/sysstat.xsd

diff --git a/sadf.h b/sadf.h
index b01c33cdbafeb119b6eb15f2ccd48f5e11621e45..140851078284d0c3c445a3bf169ad455ab119425 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.10"
+#define XML_DTD_VERSION        "3.11"
 
 /* Various constants */
 #define DO_SAVE                0
similarity index 99%
rename from xml/sysstat-3.10.dtd
rename to xml/sysstat-3.11.dtd
index d578c24c16408cf4a2ce6c34d0fdbce84a321e73..38bd657e823003c8ccdcdbc066296d23dc169a40 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!--DTD v3.10 for sysstat. See sadf.h -->
+<!--DTD v3.11 for sysstat. See sadf.h -->
 
 <!ELEMENT sysstat (sysdata-version, host)>
 <!ATTLIST sysstat
        squeezd CDATA #REQUIRED
        rx_rps CDATA #REQUIRED
        flw_lim CDATA #REQUIRED
+       blg_len CDATA #IMPLIED
 >
 
 <!ELEMENT power-management (cpu-frequency?, fan-speed?, temperature?, voltage-input?, cpu-weighted-frequency?, usb-devices?)>
index f250420e9c3d9efa2d625795a70a34b10bf9c4ca..30c42782626617db4a1fa79b4392fd50428bc4ce 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://pagesperso-orange.fr/sebastien.godard/sysstat" targetNamespace="http://pagesperso-orange.fr/sebastien.godard/sysstat" elementFormDefault="qualified">
 <xs:annotation>
-       <xs:appinfo>-- XML Schema v3.9 for sysstat. See sadf.h --</xs:appinfo>
+       <xs:appinfo>-- XML Schema v3.11 for sysstat. See sadf.h --</xs:appinfo>
 </xs:annotation>
 
 <xs:element name="sysstat" type="sysstat-type"></xs:element>
        <xs:attribute name="squeezd" type="hundredth-type" use="required"></xs:attribute>
        <xs:attribute name="rx_rps" type="hundredth-type" use="required"></xs:attribute>
        <xs:attribute name="flw_lim" type="hundredth-type" use="required"></xs:attribute>
+       <xs:attribute name="blg_len" type="xs:nonNegativeInteger"></xs:attribute>
 </xs:complexType>
 
 <xs:element name="power-management" type="power-management-type"></xs:element>