1<?xml version="1.0" encoding="utf-8"?> 2<syst:Collateral xmlns:syst="http://www.mipi.org/1.0/sys-t" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="http://www.mipi.org/1.0/sys-t 5 https://www.mipi.org/schema/sys-t/sys-t_1-0.xsd"> 6 7 <!-- 8 A SyS-T collateral file starts with a syst:Collateral element 9 and contains at least one syst:Client child node. 10 --> 11 <syst:Client Name="example"> 12 13 <!-- 14 List of message GUIDs for this client: 15 A GUID is a 128bit numeric UUID following RFC 4122. 16 Clients that are identified by transport layer properties 17 can use pseudo GUID values to identify their messages. A 18 pseudo GUID is defined as a GUID with bit 71 set to zero. 19 The following encoding might be used for clients identified 20 by MIPI System Trace Protocol (STP) master/channel pairs: 21 22 {00000000-<MasterID>-<ChannelID>-<Origin>00-000000000000} 23 24 A Mask attribute can be added to define which bits of the GUID are 25 used for comparison. Without a mask, all bits need to match. 26 The example below makes the catalog valid for all channels from the 27 STP master value 0x644, or messages with the "494E..." GUID in their 28 payload. 29 --> 30 <syst:Guids> 31 <syst:Guid ID= "{00000000-0644-0000-0000-000000000000}" 32 Mask="{00000000-FFFF-0000-8000-000000000000}"><![CDATA[kernel]]></syst:Guid> 33 <syst:Guid ID="{494E5443-8A9C-4014-A65A-2F36A36D96E4}"><![CDATA[user]]></syst:Guid> 34 </syst:Guids> 35 36 <!-- 37 Define for which versions of the client this collateral is valid. 38 Versions are expressed as values up to 64-bit and can contain a mask 39 that define which bits need to match with a client version message. 40 --> 41 <syst:Builds> 42 <syst:Build ID="0x0010000" Mask="0xFFFF0000" ><![CDATA[SW Build 1.x]]></syst:Build> 43 <syst:Build ID="0x0020000" Mask="0xFFFF0000" ><![CDATA[SW Build 2.x]]></syst:Build> 44 </syst:Builds> 45 46 <!-- 47 Provide ID to name mapping for module header field values. 48 --> 49 <syst:Modules> 50 <syst:Module ID="0x1"><![CDATA[kernel]]></syst:Module> 51 <syst:Module ID="0x2"><![CDATA[user]]></syst:Module> 52 </syst:Modules> 53 54 <!-- 55 Define the mapping of the numeric File-ID to source files. 56 This table is optional and only needed if source references are used 57 by the source. 58 --> 59 <syst:SourceFiles> 60 <syst:File ID="1"><![CDATA[./othersource.c]]></syst:File> 61 <syst:File ID="2"><![CDATA[./systclient.c]]></syst:File> 62 </syst:SourceFiles> 63 64 65 <!-- 66 Define the mapping of catalog message ID to user visible strings. 67 This table is optional and only needed if catalog messages are used. 68 A message can have optional "File" and "Line" attributes to specify the 69 source position of the instrumentation call. A decoder uses this 70 information if the message payload doesn't provide this information. 71 --> 72 <syst:Catalog32> 73 <syst:Format ID="0xe4876129" File="1" Line="40"><![CDATA[+-------------------------------------------------------+]]></syst:Format> 74 <syst:Format ID="0x16028e9a" File="1" Line="41"><![CDATA[| ____ _____ _______ |]]></syst:Format> 75 <syst:Format ID="0xc5d41bc9" File="1" Line="42"><![CDATA[| / ___| / ____| |__ __| |]]></syst:Format> 76 <syst:Format ID="0x23f66c1e" File="1" Line="43"><![CDATA[| | |___ __ _| |___ _____| | |]]></syst:Format> 77 <syst:Format ID="0x95095f2f" File="1" Line="44"><![CDATA[| \___ \| | | |\___ \_____| | |]]></syst:Format> 78 <syst:Format ID="0xc645d04b" File="1" Line="45"><![CDATA[| ____| | |_| |____| | | | |]]></syst:Format> 79 <syst:Format ID="0x54d8b7ff" File="1" Line="46"><![CDATA[| |_____/ \__| |_____/ |_| |]]></syst:Format> 80 <syst:Format ID="0xd48907f7" File="1" Line="47"><![CDATA[| _/ / |]]></syst:Format> 81 <syst:Format ID="0x9e125f25" File="1" Line="48"><![CDATA[| |__/ |]]></syst:Format> 82 <syst:Format ID="0xe487612a" File="1" Line="49"><![CDATA[+-------------------------------------------------------+]]></syst:Format> 83 <syst:Format ID="0xd44fd581" File="1" Line="71"><![CDATA[| '%%*so%%*s | '%*so%*s ' |]]></syst:Format> 84 <syst:Format ID="0x64f996d9" File="1" Line="124"><![CDATA[in function foo]]></syst:Format> 85 <syst:Format ID="0x62f35566" File="1" Line="129"><![CDATA[in function bar]]></syst:Format> 86 <syst:Format ID="0xcf292f8b" File="1" Line="254"><![CDATA[| catalog Format | Printed Result |]]></syst:Format> 87 <syst:Format ID="0x886b15e0" File="1" Line="255"><![CDATA[|---------------------------------strings---------------|]]></syst:Format> 88 <syst:Format ID="0xf0e43f1b" File="1" Line="256"><![CDATA[| '%%30s' | '%30s' |]]></syst:Format> 89 <syst:Format ID="0x8bb1283d" File="1" Line="257"><![CDATA[| '%%-30s' | '%-30s' |]]></syst:Format> 90 <syst:Format ID="0x237ce64f" File="1" Line="258"><![CDATA[|---------------------------------ASCII-----------------|]]></syst:Format> 91 <syst:Format ID="0x80f4ba3d" File="1" Line="259"><![CDATA[| '%%s' | '%s' |]]></syst:Format> 92 <syst:Format ID="0x80f4ba3e" File="1" Line="260"><![CDATA[| '%%s' | '%s' |]]></syst:Format> 93 <syst:Format ID="0x80f4ba3f" File="1" Line="261"><![CDATA[| '%%s' | '%s' |]]></syst:Format> 94 <syst:Format ID="0x80f4ba40" File="1" Line="262"><![CDATA[| '%%s' | '%s' |]]></syst:Format> 95 <syst:Format ID="0xe29131c9" File="1" Line="263"><![CDATA[|---------------------------------decimals--------------|]]></syst:Format> 96 <syst:Format ID="0xddc39ddb" File="1" Line="264"><![CDATA[| '%%30d' | '%30d' |]]></syst:Format> 97 <syst:Format ID="0xddc39ddc" File="1" Line="265"><![CDATA[| '%%30d' | '%30d' |]]></syst:Format> 98 <syst:Format ID="0xddc39ddd" File="1" Line="266"><![CDATA[| '%%30d' | '%30d' |]]></syst:Format> 99 <syst:Format ID="0xddc39dde" File="1" Line="267"><![CDATA[| '%%30d' | '%30d' |]]></syst:Format> 100 <syst:Format ID="0xddc39ddf" File="1" Line="268"><![CDATA[| '%%30d' | '%30d' |]]></syst:Format> 101 <syst:Format ID="0xddc39de0" File="1" Line="269"><![CDATA[| '%%30d' | '%30d' |]]></syst:Format> 102 <syst:Format ID="0x789086fd" File="1" Line="270"><![CDATA[| '%%-30d' | '%-30d' |]]></syst:Format> 103 <syst:Format ID="0x789086fe" File="1" Line="271"><![CDATA[| '%%-30d' | '%-30d' |]]></syst:Format> 104 <syst:Format ID="0x789086ff" File="1" Line="272"><![CDATA[| '%%-30d' | '%-30d' |]]></syst:Format> 105 <syst:Format ID="0x78908700" File="1" Line="273"><![CDATA[| '%%-30d' | '%-30d' |]]></syst:Format> 106 <syst:Format ID="0x78908701" File="1" Line="274"><![CDATA[| '%%-30d' | '%-30d' |]]></syst:Format> 107 <syst:Format ID="0x78908702" File="1" Line="275"><![CDATA[| '%%-30d' | '%-30d' |]]></syst:Format> 108 <syst:Format ID="0x149a8033" File="1" Line="276"><![CDATA[|----------------------------------hexadecimals---------|]]></syst:Format> 109 <syst:Format ID="0xf74474db" File="1" Line="277"><![CDATA[| '%%30x' | '%30x' |]]></syst:Format> 110 <syst:Format ID="0xf74474dc" File="1" Line="278"><![CDATA[| '%%30x' | '%30x' |]]></syst:Format> 111 <syst:Format ID="0xf74474dd" File="1" Line="279"><![CDATA[| '%%30x' | '%30x' |]]></syst:Format> 112 <syst:Format ID="0xf74474de" File="1" Line="280"><![CDATA[| '%%30x' | '%30x' |]]></syst:Format> 113 <syst:Format ID="0xf74474df" File="1" Line="281"><![CDATA[| '%%30x' | '%30x' |]]></syst:Format> 114 <syst:Format ID="0xf74474e0" File="1" Line="282"><![CDATA[| '%%30x' | '%30x' |]]></syst:Format> 115 <syst:Format ID="0x92115dfd" File="1" Line="283"><![CDATA[| '%%-30x' | '%-30x' |]]></syst:Format> 116 <syst:Format ID="0x92115dfe" File="1" Line="284"><![CDATA[| '%%-30x' | '%-30x' |]]></syst:Format> 117 <syst:Format ID="0x92115dff" File="1" Line="285"><![CDATA[| '%%-30x' | '%-30x' |]]></syst:Format> 118 <syst:Format ID="0x92115e00" File="1" Line="286"><![CDATA[| '%%-30x' | '%-30x' |]]></syst:Format> 119 <syst:Format ID="0x92115e01" File="1" Line="287"><![CDATA[| '%%-30x' | '%-30x' |]]></syst:Format> 120 <syst:Format ID="0x92115e02" File="1" Line="288"><![CDATA[| '%%-30x' | '%-30x' |]]></syst:Format> 121 <syst:Format ID="0x9b431cdb" File="1" Line="289"><![CDATA[| '%%30X' | '%30X' |]]></syst:Format> 122 <syst:Format ID="0x9b431cdc" File="1" Line="290"><![CDATA[| '%%30X' | '%30X' |]]></syst:Format> 123 <syst:Format ID="0x9b431cdd" File="1" Line="291"><![CDATA[| '%%30X' | '%30X' |]]></syst:Format> 124 <syst:Format ID="0x9b431cde" File="1" Line="292"><![CDATA[| '%%30X' | '%30X' |]]></syst:Format> 125 <syst:Format ID="0x9b431cdf" File="1" Line="293"><![CDATA[| '%%30X' | '%30X' |]]></syst:Format> 126 <syst:Format ID="0x9b431ce0" File="1" Line="294"><![CDATA[| '%%30X' | '%30X' |]]></syst:Format> 127 <syst:Format ID="0x361005fd" File="1" Line="295"><![CDATA[| '%%-30X' | '%-30X' |]]></syst:Format> 128 <syst:Format ID="0x361005fe" File="1" Line="296"><![CDATA[| '%%-30X' | '%-30X' |]]></syst:Format> 129 <syst:Format ID="0x361005ff" File="1" Line="297"><![CDATA[| '%%-30X' | '%-30X' |]]></syst:Format> 130 <syst:Format ID="0x36100600" File="1" Line="298"><![CDATA[| '%%-30X' | '%-30X' |]]></syst:Format> 131 <syst:Format ID="0x36100601" File="1" Line="299"><![CDATA[| '%%-30X' | '%-30X' |]]></syst:Format> 132 <syst:Format ID="0x36100602" File="1" Line="300"><![CDATA[| '%%-30X' | '%-30X' |]]></syst:Format> 133 <syst:Format ID="0x02408d9a" File="1" Line="301"><![CDATA[|-----------------------------------double--------------|]]></syst:Format> 134 <syst:Format ID="0x1bfd1b9b" File="1" Line="302"><![CDATA[| '%%30.1f' | '%30.1f' |]]></syst:Format> 135 <syst:Format ID="0x43dfc0db" File="1" Line="303"><![CDATA[| '%%30.2f' | '%30.2f' |]]></syst:Format> 136 <syst:Format ID="0x6bc2661b" File="1" Line="304"><![CDATA[| '%%30.3f' | '%30.3f' |]]></syst:Format> 137 <syst:Format ID="0x93a50b5b" File="1" Line="305"><![CDATA[| '%%30.4f' | '%30.4f' |]]></syst:Format> 138 <syst:Format ID="0xbb87b09b" File="1" Line="306"><![CDATA[| '%%30.5f' | '%30.5f' |]]></syst:Format> 139 <syst:Format ID="0xe36a55db" File="1" Line="307"><![CDATA[| '%%30.6f' | '%30.6f' |]]></syst:Format> 140 <syst:Format ID="0x0b4cfb1b" File="1" Line="308"><![CDATA[| '%%30.7f' | '%30.7f' |]]></syst:Format> 141 <syst:Format ID="0x332fa05b" File="1" Line="309"><![CDATA[| '%%30.8f' | '%30.8f' |]]></syst:Format> 142 <syst:Format ID="0x5b12459b" File="1" Line="310"><![CDATA[| '%%30.9f' | '%30.9f' |]]></syst:Format> 143 <syst:Format ID="0x10b5637d" File="1" Line="311"><![CDATA[| '%%30.10f' | '%30.10f' |]]></syst:Format> 144 <syst:Format ID="0xdda393bd" File="1" Line="312"><![CDATA[| '%%-30.1f' | '%-30.1f' |]]></syst:Format> 145 <syst:Format ID="0x058638fd" File="1" Line="313"><![CDATA[| '%%-30.2f' | '%-30.2f' |]]></syst:Format> 146 <syst:Format ID="0x2d68de3d" File="1" Line="314"><![CDATA[| '%%-30.3f' | '%-30.3f' |]]></syst:Format> 147 <syst:Format ID="0x554b837d" File="1" Line="315"><![CDATA[| '%%-30.4f' | '%-30.4f' |]]></syst:Format> 148 <syst:Format ID="0x7d2e28bd" File="1" Line="316"><![CDATA[| '%%-30.5f' | '%-30.5f' |]]></syst:Format> 149 <syst:Format ID="0xa510cdfd" File="1" Line="317"><![CDATA[| '%%-30.6f' | '%-30.6f' |]]></syst:Format> 150 <syst:Format ID="0xccf3733d" File="1" Line="318"><![CDATA[| '%%-30.7f' | '%-30.7f' |]]></syst:Format> 151 <syst:Format ID="0xf4d6187d" File="1" Line="319"><![CDATA[| '%%-30.8f' | '%-30.8f' |]]></syst:Format> 152 <syst:Format ID="0x1cb8bdbd" File="1" Line="320"><![CDATA[| '%%-30.9f' | '%-30.9f' |]]></syst:Format> 153 <syst:Format ID="0x30cef3db" File="1" Line="321"><![CDATA[| '%%-30.10f' | '%-30.10f' |]]></syst:Format> 154 <syst:Format ID="0x75ff3462" File="1" Line="322"><![CDATA[|-----------------------------------scientific----------|]]></syst:Format> 155 <syst:Format ID="0x811d10db" File="1" Line="323"><![CDATA[| '%%30.1e' | '%30.1e' |]]></syst:Format> 156 <syst:Format ID="0xa8ffb61b" File="1" Line="324"><![CDATA[| '%%30.2e' | '%30.2e' |]]></syst:Format> 157 <syst:Format ID="0xd0e25b5b" File="1" Line="325"><![CDATA[| '%%30.3e' | '%30.3e' |]]></syst:Format> 158 <syst:Format ID="0xf8c5009b" File="1" Line="326"><![CDATA[| '%%30.4e' | '%30.4e' |]]></syst:Format> 159 <syst:Format ID="0x20a7a5db" File="1" Line="327"><![CDATA[| '%%30.5e' | '%30.5e' |]]></syst:Format> 160 <syst:Format ID="0x488a4b1b" File="1" Line="328"><![CDATA[| '%%30.6e' | '%30.6e' |]]></syst:Format> 161 <syst:Format ID="0x706cf05b" File="1" Line="329"><![CDATA[| '%%30.7e' | '%30.7e' |]]></syst:Format> 162 <syst:Format ID="0x984f959b" File="1" Line="330"><![CDATA[| '%%30.8e' | '%30.8e' |]]></syst:Format> 163 <syst:Format ID="0xc0323adb" File="1" Line="331"><![CDATA[| '%%30.9e' | '%30.9e' |]]></syst:Format> 164 <syst:Format ID="0x75d558bd" File="1" Line="332"><![CDATA[| '%%30.10e' | '%30.10e' |]]></syst:Format> 165 <syst:Format ID="0x42c388fd" File="1" Line="333"><![CDATA[| '%%-30.1e' | '%-30.1e' |]]></syst:Format> 166 <syst:Format ID="0x6aa62e3d" File="1" Line="334"><![CDATA[| '%%-30.2e' | '%-30.2e' |]]></syst:Format> 167 <syst:Format ID="0x9288d37d" File="1" Line="335"><![CDATA[| '%%-30.3e' | '%-30.3e' |]]></syst:Format> 168 <syst:Format ID="0xba6b78bd" File="1" Line="336"><![CDATA[| '%%-30.4e' | '%-30.4e' |]]></syst:Format> 169 <syst:Format ID="0xe24e1dfd" File="1" Line="337"><![CDATA[| '%%-30.5e' | '%-30.5e' |]]></syst:Format> 170 <syst:Format ID="0x0a30c33d" File="1" Line="338"><![CDATA[| '%%-30.6e' | '%-30.6e' |]]></syst:Format> 171 <syst:Format ID="0x3213687d" File="1" Line="339"><![CDATA[| '%%-30.7e' | '%-30.7e' |]]></syst:Format> 172 <syst:Format ID="0x59f60dbd" File="1" Line="340"><![CDATA[| '%%-30.8e' | '%-30.8e' |]]></syst:Format> 173 <syst:Format ID="0x81d8b2fd" File="1" Line="341"><![CDATA[| '%%-30.9e' | '%-30.9e' |]]></syst:Format> 174 <syst:Format ID="0x95eee91b" File="1" Line="342"><![CDATA[| '%%-30.10e' | '%-30.10e' |]]></syst:Format> 175 <syst:Format ID="0x66ad3a7f" File="1" Line="343"><![CDATA[|-----------------------------------exotics-------------|]]></syst:Format> 176 <syst:Format ID="0x4e9894fd" File="1" Line="344"><![CDATA[| '%%030hhu' | '%030hhu' |]]></syst:Format> 177 <syst:Format ID="0x1870c29b" File="1" Line="345"><![CDATA[| '%%030hu' | '%030hu' |]]></syst:Format> 178 <syst:Format ID="0xb7fb579b" File="1" Line="346"><![CDATA[| '%%030lu' | '%030lu' |]]></syst:Format> 179 <syst:Format ID="0xc63dd4fd" File="1" Line="347"><![CDATA[| '%%030llu' | '%030llu' |]]></syst:Format> 180 <syst:Format ID="0xad58547d" File="1" Line="348"><![CDATA[| '%%030hho' | '%030hho' |]]></syst:Format> 181 <syst:Format ID="0x7730821b" File="1" Line="349"><![CDATA[| '%%030ho' | '%030ho' |]]></syst:Format> 182 <syst:Format ID="0x16bb171b" File="1" Line="350"><![CDATA[| '%%030lo' | '%030lo' |]]></syst:Format> 183 <syst:Format ID="0x24fd947d" File="1" Line="351"><![CDATA[| '%%030llo' | '%030llo' |]]></syst:Format> 184 <syst:Format ID="0x1f38b53d" File="1" Line="352"><![CDATA[| '%%030hhx' | '%030hhx' |]]></syst:Format> 185 <syst:Format ID="0xe910e2db" File="1" Line="353"><![CDATA[| '%%030hx' | '%030hx' |]]></syst:Format> 186 <syst:Format ID="0x889b77db" File="1" Line="354"><![CDATA[| '%%030lx' | '%030lx' |]]></syst:Format> 187 <syst:Format ID="0x96ddf53d" File="1" Line="355"><![CDATA[| '%%030llx' | '%030llx' |]]></syst:Format> 188 <syst:Format ID="0x3ff8653d" File="1" Line="356"><![CDATA[| '%%-30hhu' | '%-30hhu' |]]></syst:Format> 189 <syst:Format ID="0x60d8e25b" File="1" Line="357"><![CDATA[| '%%-30hu' | '%-30hu' |]]></syst:Format> 190 <syst:Format ID="0x2c427ef9" File="1" Line="358"><![CDATA[| '%%#-30lu' | '%#-30hu' |]]></syst:Format> 191 <syst:Format ID="0xe3d00a1b" File="1" Line="359"><![CDATA[| '%%#-30llu' | '%#-30llu' |]]></syst:Format> 192 <syst:Format ID="0xcaea899b" File="1" Line="360"><![CDATA[| '%%#-30hho' | '%#-30hho' |]]></syst:Format> 193 <syst:Format ID="0xfb29257d" File="1" Line="361"><![CDATA[| '%%#-30ho' | '%#-30ho' |]]></syst:Format> 194 <syst:Format ID="0x9ab3ba7d" File="1" Line="362"><![CDATA[| '%%#-30lo' | '%#-30lo' |]]></syst:Format> 195 <syst:Format ID="0x428fc99b" File="1" Line="363"><![CDATA[| '%%#-30llo' | '%#-30llo' |]]></syst:Format> 196 <syst:Format ID="0x3ccaea5b" File="1" Line="364"><![CDATA[| '%%#-30hhx' | '%#-30hhx' |]]></syst:Format> 197 <syst:Format ID="0x6d09863d" File="1" Line="365"><![CDATA[| '%%#-30hx' | '%#-30hx' |]]></syst:Format> 198 <syst:Format ID="0x0c941b3d" File="1" Line="366"><![CDATA[| '%%#-30lx' | '%#-30lx' |]]></syst:Format> 199 <syst:Format ID="0xb4702a5b" File="1" Line="367"><![CDATA[| '%%#-30llx' | '%#-30llx' |]]></syst:Format> 200 <syst:Format ID="0x32ca5ed8" File="2" Line="64"><![CDATA[SyS-T Library version %d.%d.%d]]></syst:Format> 201 <syst:Format ID="0x00000002" File="2" Line="78"><![CDATA[%s=%d 202]]></syst:Format> 203 <syst:Format ID="0xe054cf5c" File="2" Line="82"><![CDATA[%s=%d 204]]></syst:Format> 205 </syst:Catalog32> 206 207 208 <syst:Catalog64> 209 <syst:Format ID="0x1122334455667788" File="2" Line="77"><![CDATA[Hello world 210]]></syst:Format> 211 </syst:Catalog64> 212 213 214 <!-- 215 Define short message mapping from 28-Bit ID to user visible string. 216 --> 217 <syst:Short32> 218 <syst:Format ID="0x01234567" ><![CDATA[Short 32-Bit value (0x01234567)]]></syst:Format> 219 <syst:Format ID="0x0E000000" Mask="0x0F000000"><![CDATA[error with code %d]]></syst:Format> 220 <syst:Format ID="0x0F000000" Mask="0x0F000000"><![CDATA[warning with code %d]]></syst:Format> 221 </syst:Short32> 222 223 <!-- 224 Define short message mapping from 60-Bit ID to user visible string. 225 --> 226 <syst:Short64> 227 <syst:Format ID="0x0112233445566778"><![CDATA[Short 64-Bit value (0x0112233445566778)]]]></syst:Format> 228 </syst:Short64> 229 230 <!-- 231 Specify write message protocol id assignment 232 --> 233 <syst:Write> 234 <syst:Protocol ID="0x01" Mask="0x00"><![CDATA[Protocol%d]]></syst:Protocol> 235 </syst:Write> 236 237 </syst:Client> 238</syst:Collateral>