Lines Matching +full:frame +full:- +full:format
3 MIPI Sys-T Logging Sample
14 This project outputs a few sample log messages in MIPI Sys-T format.
15 These Sys-T messages can be interpreted by a utility in
16 :file:`<workspace>/modules/debug/mipi-sys-t/printer/`.
18 Build the Sys-T Message Parser
21 .. code-block:: console
23 cd <workspace>/modules/debug/mipi-sys-t/printer/
30 :file:`<workspace>/modules/debug/mipi-sys-t/printer/build`.
32 MIPI Sys-T Text Messages
35 The Sys-T text messages are self contained strings that do not
40 .. zephyr-app-commands::
41 :zephyr-app: samples/subsys/logging/syst
42 :host-os: unix
45 :gen-args: -DCONFIG_LOG_BACKEND_SHOW_COLOR=n
50 .. code-block:: console
52 west build -t run > /tmp/syst
59 ---------------------------
63 .. code-block:: text
65 SeaBIOS (version zephyr-v1.0.0-0-g31d4e0e-dirty-20200714_234759-fv-az50-zephyr)
66 …Booting from ROM..SYS-T RAW DATA: 020A000B490000000000000000002A2A2A20426F6F74696E67205A6570687972…
67 SYS-T RAW DATA: 220A000B170001000000000000004572726F72206D657373616765206578616D706C652E00
68 SYS-T RAW DATA: 320A000B190001000000000000005761726E696E67206D657373616765206578616D706C652E00
69 SYS-T RAW DATA: 420A000B16000100000000000000496E666F206D657373616765206578616D706C652E00
70 SYS-T RAW DATA: 720A000B170001000000000000004465627567206D657373616765206578616D706C652E00
71 …SYS-T RAW DATA: 720A000B1E0001000000000000004465627567206D657373616765206578616D706C652C2025640001…
72 …SYS-T RAW DATA: 720A000B260001000000000000004465627567206D657373616765206578616D706C652C2025642C20…
73 …SYS-T RAW DATA: 720A000B2E0001000000000000004465627567206D657373616765206578616D706C652C2025642C20…
74 …SYS-T RAW DATA: 720A000B380001000000000000004465627567206D657373616765206578616D706C652C2025642C20…
75 SYS-T RAW DATA: 720A000B0C000100000000000000636861722025630021000000
76 …SYS-T RAW DATA: 720A000B1D000100000000000000732073747220257320257300737461746963207374720063207374…
77 SYS-T RAW DATA: 720A000B1500010000000000000064207374722025730064796E616D69632073747200
78 …SYS-T RAW DATA: 720A000B6B0001000000000000006D6978656420737472202573202573202573202573202573202573…
79 …SYS-T RAW DATA: 720A000B430001000000000000006D6978656420632F73202563202573202573202573202563002100…
80 …SYS-T RAW DATA: 720A000B220001000000000000004465627567206D657373616765206578616D706C652C20256600EA…
81 SYS-T RAW DATA: 220A000B090001000000000000002573006672616D6500
82 …SYS-T RAW DATA: 220A000B47000200000000000000257300303320643220303420303020303020303820303120303220…
83 SYS-T RAW DATA: 320A000B090002000000000000002573006672616D6500
84 …SYS-T RAW DATA: 320A000B47000200000000000000257300303320643220303420303020303020303820303120303220…
85 SYS-T RAW DATA: 420A000B090002000000000000002573006672616D6500
86 …SYS-T RAW DATA: 420A000B47000200000000000000257300303320643220303420303020303020303820303120303220…
87 SYS-T RAW DATA: 720A000B090002000000000000002573006672616D6500
88 …SYS-T RAW DATA: 720A000B47000200000000000000257300303320643220303420303020303020303820303120303220…
89 …SYS-T RAW DATA: 020A000B2200020000000000000068656C6C6F207379732D74206F6E20626F6172642025730A007165…
101 …[ 0.020000] <dbg> syst: mixed str dynamic str --- dynamic str --- another dynamic str --- anoth…
104 [ 0.030000] <err> syst: frame
106 [ 0.030000] <wrn> syst: frame
108 [ 0.030000] <inf> syst: frame
110 [ 0.030000] <dbg> syst: frame
112 hello sys-t on board qemu_x86
113 SYS-T RAW DATA: 220A000B170003000000000000004572726F72206D657373616765206578616D706C652E00
114 SYS-T RAW DATA: 320A000B190003000000000000005761726E696E67206D657373616765206578616D706C652E00
115 SYS-T RAW DATA: 420A000B16000300000000000000496E666F206D657373616765206578616D706C652E00
116 SYS-T RAW DATA: 720A000B170003000000000000004465627567206D657373616765206578616D706C652E00
117 …SYS-T RAW DATA: 720A000B1E0003000000000000004465627567206D657373616765206578616D706C652C2025640001…
118 …SYS-T RAW DATA: 720A000B260003000000000000004465627567206D657373616765206578616D706C652C2025642C20…
119 …SYS-T RAW DATA: 720A000B2E0003000000000000004465627567206D657373616765206578616D706C652C2025642C20…
120 …SYS-T RAW DATA: 720A000B380003000000000000004465627567206D657373616765206578616D706C652C2025642C20…
121 SYS-T RAW DATA: 720A000B0C000300000000000000636861722025630021000000
122 …SYS-T RAW DATA: 720A000B1D000300000000000000732073747220257320257300737461746963207374720063207374…
123 SYS-T RAW DATA: 720A000B1500030000000000000064207374722025730064796E616D69632073747200
124 …SYS-T RAW DATA: 720A000B6B0003000000000000006D6978656420737472202573202573202573202573202573202573…
125 …SYS-T RAW DATA: 720A000B430004000000000000006D6978656420632F73202563202573202573202573202563002100…
126 …SYS-T RAW DATA: 720A000B220004000000000000004465627567206D657373616765206578616D706C652C20256600EA…
127 SYS-T RAW DATA: 220A000B090004000000000000002573006672616D6500
128 …SYS-T RAW DATA: 220A000B47000400000000000000257300303320643220303420303020303020303820303120303220…
129 SYS-T RAW DATA: 320A000B090004000000000000002573006672616D6500
130 …SYS-T RAW DATA: 320A000B47000400000000000000257300303320643220303420303020303020303820303120303220…
131 SYS-T RAW DATA: 420A000B090004000000000000002573006672616D6500
132 …SYS-T RAW DATA: 420A000B47000400000000000000257300303320643220303420303020303020303820303120303220…
133 SYS-T RAW DATA: 720A000B090004000000000000002573006672616D6500
134 …SYS-T RAW DATA: 720A000B47000400000000000000257300303320643220303420303020303020303820303120303220…
135 …SYS-T RAW DATA: 020A000B2200040000000000000068656C6C6F207379732D74206F6E20626F6172642025730A007165…
143 .. code-block:: console
145 <workspace>/modules/debug/mipi-sys-t/printer/build/systprint -p /tmp/syst
149 .. code-block:: text
162 mixed str dynamic str --- dynamic str --- another dynamic str --- another dynamic str
165 frame
167 frame
169 frame
171 frame
173 hello sys-t on board qemu_x86
185 mixed str dynamic str --- dynamic str --- another dynamic str --- another dynamic str
188 frame
190 frame
192 frame
194 frame
196 hello sys-t on board qemu_x86
199 MIPI Sys-T Catalog Messages
202 Catalog messages are similar to dictionary logging where the format strings
204 are encoded in the Sys-T message payload. The hashes and the encoded
206 the mapping between hashes and their corresponding format strings) to
211 .. zephyr-app-commands::
212 :zephyr-app: samples/subsys/logging/syst
213 :host-os: unix
216 :gen-args: -DCONFIG_LOG_BACKEND_SHOW_COLOR=n -DCONFIG_LOG_MIPI_SYST_USE_CATALOG=y
221 .. code-block:: console
223 west build -t run > /tmp/syst
230 ------------------------------
234 .. code-block:: text
236 SeaBIOS (version zephyr-v1.0.0-0-g31d4e0e-dirty-20200714_234759-fv-az50-zephyr)
237 …Booting from ROM..SYS-T RAW DATA: 020A000B490000000000000000002A2A2A20426F6F74696E67205A6570687972…
238 SYS-T RAW DATA: 230A0001040001000000000000004C221100
239 SYS-T RAW DATA: 330A00010400010000000000000030221100
240 SYS-T RAW DATA: 430A00010400010000000000000018221100
241 SYS-T RAW DATA: 730A00010400010000000000000000221100
242 SYS-T RAW DATA: 730A000108000100000000000000E421110001000000
243 SYS-T RAW DATA: 730A00010C000100000000000000C42111000100000002000000
244 SYS-T RAW DATA: 730A000110000100000000000000A0211100010000000200000003000000
245 SYS-T RAW DATA: 730A0001140001000000000000006021110001000000020000000300000004000000
246 SYS-T RAW DATA: 730A0001080001000000000000003C21110021000000
247 SYS-T RAW DATA: 730A000115000100000000000000302111007374617469632073747200632073747200
248 SYS-T RAW DATA: 730A0001100001000000000000002421110064796E616D69632073747200
249 …SYS-T RAW DATA: 730A0001500001000000000000000421110064796E616D696320737472002D2D2D0064796E616D6963…
250 …SYS-T RAW DATA: 730A00013E000100000000000000E820110021000000737461746963207374720064796E616D696320…
251 SYS-T RAW DATA: 730A00010C000100000000000000CC201100EA2E4454FB210940
252 SYS-T RAW DATA: 230A00010A000100000000000000C92011006672616D6500
253 …SYS-T RAW DATA: 220A000B47000100000000000000257300303320643220303420303020303020303820303120303220…
254 SYS-T RAW DATA: 330A00010A000100000000000000C62011006672616D6500
255 …SYS-T RAW DATA: 320A000B47000100000000000000257300303320643220303420303020303020303820303120303220…
256 SYS-T RAW DATA: 430A00010A000200000000000000C32011006672616D6500
257 …SYS-T RAW DATA: 420A000B47000200000000000000257300303320643220303420303020303020303820303120303220…
258 SYS-T RAW DATA: 730A00010A000200000000000000C02011006672616D6500
259 …SYS-T RAW DATA: 720A000B47000200000000000000257300303320643220303420303020303020303820303120303220…
260 …SYS-T RAW DATA: 020A000B2200020000000000000068656C6C6F207379732D74206F6E20626F6172642025730A007165…
272 …[ 0.020000] <dbg> syst: mixed str dynamic str --- dynamic str --- another dynamic str --- anoth…
275 [ 0.020000] <err> syst: frame
277 [ 0.020000] <wrn> syst: frame
279 [ 0.020000] <inf> syst: frame
281 [ 0.030000] <dbg> syst: frame
283 hello sys-t on board qemu_x86
284 SYS-T RAW DATA: 230A0001040003000000000000004C221100
285 SYS-T RAW DATA: 330A00010400030000000000000030221100
286 SYS-T RAW DATA: 430A00010400030000000000000018221100
287 SYS-T RAW DATA: 730A00010400030000000000000000221100
288 SYS-T RAW DATA: 730A000108000300000000000000E421110001000000
289 SYS-T RAW DATA: 730A00010C000300000000000000C42111000100000002000000
290 SYS-T RAW DATA: 730A000110000300000000000000A0211100010000000200000003000000
291 SYS-T RAW DATA: 730A0001140003000000000000006021110001000000020000000300000004000000
292 SYS-T RAW DATA: 730A0001080003000000000000003C21110021000000
293 SYS-T RAW DATA: 730A000115000300000000000000302111007374617469632073747200632073747200
294 SYS-T RAW DATA: 730A0001100003000000000000002421110064796E616D69632073747200
295 …SYS-T RAW DATA: 730A0001500003000000000000000421110064796E616D696320737472002D2D2D0064796E616D6963…
296 …SYS-T RAW DATA: 730A00013E000300000000000000E820110021000000737461746963207374720064796E616D696320…
297 SYS-T RAW DATA: 730A00010C000300000000000000CC201100EA2E4454FB210940
298 SYS-T RAW DATA: 230A00010A000300000000000000C92011006672616D6500
299 …SYS-T RAW DATA: 220A000B47000300000000000000257300303320643220303420303020303020303820303120303220…
300 SYS-T RAW DATA: 330A00010A000300000000000000C62011006672616D6500
301 …SYS-T RAW DATA: 320A000B47000300000000000000257300303320643220303420303020303020303820303120303220…
302 SYS-T RAW DATA: 430A00010A000400000000000000C32011006672616D6500
303 …SYS-T RAW DATA: 420A000B47000400000000000000257300303320643220303420303020303020303820303120303220…
304 SYS-T RAW DATA: 730A00010A000400000000000000C02011006672616D6500
305 …SYS-T RAW DATA: 720A000B47000400000000000000257300303320643220303420303020303020303820303120303220…
306 …SYS-T RAW DATA: 020A000B2200040000000000000068656C6C6F207379732D74206F6E20626F6172642025730A007165…
316 .. code-block:: console
318 …<workspace>/modules/debug/mipi-sys-t/printer/build/systprint -c <build_dir>/zephyr/mipi_syst_colla…
322 .. code-block:: text
335 mixed str dynamic str --- dynamic str --- another dynamic str --- another dynamic str
338 frame
340 frame
342 frame
344 frame
346 hello sys-t on board qemu_x86
359 mixed str dynamic str --- dynamic str --- another dynamic str --- another dynamic str
362 frame
364 frame
366 frame
368 frame
370 hello sys-t on board qemu_x86