ctf 822 B

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