xref: /minix3/external/bsd/file/dist/magic/magdir/ctf (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc
2*0a6a1f1dSLionel Sambuc#--------------------------------------------------------------
3*0a6a1f1dSLionel Sambuc# ctf:  file(1) magic for CTF (Common Trace Format) trace files
4*0a6a1f1dSLionel Sambuc#
5*0a6a1f1dSLionel Sambuc# Specs. available here: <http://www.efficios.com/ctf>
6*0a6a1f1dSLionel Sambuc#--------------------------------------------------------------
7*0a6a1f1dSLionel Sambuc
8*0a6a1f1dSLionel Sambuc# CTF trace data
9*0a6a1f1dSLionel Sambuc0	lelong	0xc1fc1fc1	Common Trace Format (CTF) trace data (LE)
10*0a6a1f1dSLionel Sambuc0	belong	0xc1fc1fc1	Common Trace Format (CTF) trace data (BE)
11*0a6a1f1dSLionel Sambuc
12*0a6a1f1dSLionel Sambuc# CTF metadata (packetized)
13*0a6a1f1dSLionel Sambuc0	lelong	0x75d11d57	Common Trace Format (CTF) packetized metadata (LE)
14*0a6a1f1dSLionel Sambuc>35	byte	x		\b, v%d
15*0a6a1f1dSLionel Sambuc>36	byte	x		\b.%d
16*0a6a1f1dSLionel Sambuc0	belong	0x75d11d57	Common Trace Format (CTF) packetized metadata (BE)
17*0a6a1f1dSLionel Sambuc>35	byte	x		\b, v%d
18*0a6a1f1dSLionel Sambuc>36	byte	x		\b.%d
19*0a6a1f1dSLionel Sambuc
20*0a6a1f1dSLionel Sambuc# CTF metadata (plain text)
21*0a6a1f1dSLionel Sambuc0	string	/*\x20CTF\x20   Common Trace Format (CTF) plain text metadata
22*0a6a1f1dSLionel Sambuc!:strength + 5			# this is to make sure we beat C
23*0a6a1f1dSLionel Sambuc>&0	regex	[0-9]+\.[0-9]+	\b, v%s
24