forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/tools/perf/Documentation/jitdump-specification.txt
....@@ -36,8 +36,8 @@
3636 Each jitdump file starts with a fixed size header containing the following fields in order:
3737
3838
39
-* uint32_t magic : a magic number tagging the file type. The value is 4-byte long and represents the string "JiTD" in ASCII form. It is 0x4A695444 or 0x4454694a depending on the endianness. The field can be used to detect the endianness of the file
40
-* uint32_t version : a 4-byte value representing the format version. It is currently set to 2
39
+* uint32_t magic : a magic number tagging the file type. The value is 4-byte long and represents the string "JiTD" in ASCII form. It written is as 0x4A695444. The reader will detect an endian mismatch when it reads 0x4454694a.
40
+* uint32_t version : a 4-byte value representing the format version. It is currently set to 1
4141 * uint32_t total_size: size in bytes of file header
4242 * uint32_t elf_mach : ELF architecture encoding (ELF e_machine value as specified in /usr/include/elf.h)
4343 * uint32_t pad1 : padding. Reserved for future use