[File] [PATCH] magic: add linux-perf v1 and v2 type
Ben Dooks
ben.dooks at codethink.co.uk
Fri Mar 1 17:11:26 UTC 2024
---
magic/Magdir/linux | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/magic/Magdir/linux b/magic/Magdir/linux
index a740d68c..9a7d77ba 100644
--- a/magic/Magdir/linux
+++ b/magic/Magdir/linux
@@ -938,3 +938,12 @@
>124 ubyte !0x79
>>124 ubyte >0x40 \b, english y is %c
#>764 ubyte x \b, english Y is %c
+
+# From: Ben Dooks <ben.dooks at codethink.co.uk>
+# URL: https://github.com/torvalds/linux/blob/master/tools/perf/util/header.c
+# perf files for v1 and v2
+0 string PERFFILE Linux perf recording, versionn 1
+
+0 lequad 0x32454c4946524550 Linux perf recording, version 2. little endian
+
+0 bequad 0x50455246494c4532 Linux perf recording, version 2. big endian
\ No newline at end of file
--
2.37.2.352.g3c44437643
More information about the File
mailing list