1 .TH swodec 1 "Dec 23, 2015"
3 swodec \- decode SWO trace data
10 is a command-line utility to decode SWO trace data.
15 Show a help text and exit.
19 Show version information and exit.
22 .BR "\-i, \-\-input\-file " <filename>
23 Load trace data from a file instead of using standard input.
26 .BR "\-f, \-\-filter " <list>
27 A comma-separated list of packet types to filter for. The following packet types
43 Global timestamp. This is a shortcut for \fBgts1\fP and \fBgts2\fP.
46 Global timestamp (GTS1)
49 Global timestamp (GTS2)
58 Hardware source. This is for hardware source packets which could not be decoded
59 as Data Watchpoint and Trace (DWT) packets.
62 Data Watchpoint and Trace (DWT). This is a shortcut for \fBevcnt\fP,
63 \fBexc\fP, \fBpc\fP, \fBdtpc\fP, \fBdtaddr\fP and \fBdtval\fP.
78 Data trace address offset
89 If a tilde (~) precedes the list the machting sense is inverted.
93 .BR "\-\-filter-inst " <list>
94 A comma-separated list of instrumentation source addresses to filter for. If a
95 tilde (~) precedes the list the machting sense is inverted. Each address must be
96 in the range from \fB0\fP to \fB31\fP.
100 Dump the payload of instrumentation packets. All other packet types are filtered
105 In order to decode trace data from a file (e.g. trace.bin), run the following
108 .RB " $ " "swodec \-\-input\-file trace.bin"
110 If you want to filter for instrumentation and hardware source packets only, use:
112 .RB " $ " "swodec \-\-input-file trace.bin \-\-filter inst,hw"
114 If you are interested in all packets except for unknown data and
115 synchronization, the simplest way is to invert the sense of matching:
117 .RB " $ " "swodec \-\-input-file trace.bin \-\-filter ~unknown,sync"