summaryrefslogtreecommitdiffstats
path: root/contrib/file/magic/Magdir/ctf
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-07-11 00:00:00 +0000
committerdelphij <delphij@FreeBSD.org>2014-07-11 00:00:00 +0000
commita8fc83ae7c6014d3e0809848ce57e6dbd9e6b430 (patch)
tree942bc382f7aca8fc1809046d5db53f7a55fae1f0 /contrib/file/magic/Magdir/ctf
parent8674b3c2aa3ad356a99168b86179e3ae4d898506 (diff)
downloadFreeBSD-src-a8fc83ae7c6014d3e0809848ce57e6dbd9e6b430.zip
FreeBSD-src-a8fc83ae7c6014d3e0809848ce57e6dbd9e6b430.tar.gz
MFC r267897: MFV r267843:
Update file/libmagic to 5.19.
Diffstat (limited to 'contrib/file/magic/Magdir/ctf')
-rw-r--r--contrib/file/magic/Magdir/ctf23
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/file/magic/Magdir/ctf b/contrib/file/magic/Magdir/ctf
new file mode 100644
index 0000000..37fdd1b
--- /dev/null
+++ b/contrib/file/magic/Magdir/ctf
@@ -0,0 +1,23 @@
+
+#--------------------------------------------------------------
+# ctf: file(1) magic for CTF (Common Trace Format) trace files
+#
+# Specs. available here: <http://www.efficios.com/ctf>
+#--------------------------------------------------------------
+
+# CTF trace data
+0 lelong 0xc1fc1fc1 Common Trace Format (CTF) trace data (LE)
+0 belong 0xc1fc1fc1 Common Trace Format (CTF) trace data (BE)
+
+# CTF metadata (packetized)
+0 lelong 0x75d11d57 Common Trace Format (CTF) packetized metadata (LE)
+>35 byte x \b, v%d
+>36 byte x \b.%d
+0 belong 0x75d11d57 Common Trace Format (CTF) packetized metadata (BE)
+>35 byte x \b, v%d
+>36 byte x \b.%d
+
+# CTF metadata (plain text)
+0 string /*\x20CTF\x20 Common Trace Format (CTF) plain text metadata
+!:strength + 5 # this is to make sure we beat C
+>&0 regex [0-9]+\.[0-9]+ \b, v%s
OpenPOWER on IntegriCloud