1267843Sdelphij 2267843Sdelphij#-------------------------------------------------------------- 3267843Sdelphij# ctf: file(1) magic for CTF (Common Trace Format) trace files 4267843Sdelphij# 5267843Sdelphij# Specs. available here: <http://www.efficios.com/ctf> 6267843Sdelphij#-------------------------------------------------------------- 7267843Sdelphij 8267843Sdelphij# CTF trace data 9267843Sdelphij0 lelong 0xc1fc1fc1 Common Trace Format (CTF) trace data (LE) 10267843Sdelphij0 belong 0xc1fc1fc1 Common Trace Format (CTF) trace data (BE) 11267843Sdelphij 12267843Sdelphij# CTF metadata (packetized) 13267843Sdelphij0 lelong 0x75d11d57 Common Trace Format (CTF) packetized metadata (LE) 14267843Sdelphij>35 byte x \b, v%d 15267843Sdelphij>36 byte x \b.%d 16267843Sdelphij0 belong 0x75d11d57 Common Trace Format (CTF) packetized metadata (BE) 17267843Sdelphij>35 byte x \b, v%d 18267843Sdelphij>36 byte x \b.%d 19267843Sdelphij 20267843Sdelphij# CTF metadata (plain text) 21267843Sdelphij0 string /*\x20CTF\x20 Common Trace Format (CTF) plain text metadata 22267843Sdelphij!:strength + 5 # this is to make sure we beat C 23267843Sdelphij>&0 regex [0-9]+\.[0-9]+ \b, v%s 24