projects
/
ctf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add trace { endian = big/little; } field
[ctf.git]
/
common-trace-format-proposal.txt
diff --git
a/common-trace-format-proposal.txt
b/common-trace-format-proposal.txt
index 35c1e71b4c662abdfb509149c2a7ca73ade1ef27..f2f7e232b4b7b0a23513a74ac24490b8286664ce 100644
(file)
--- a/
common-trace-format-proposal.txt
+++ b/
common-trace-format-proposal.txt
@@
-888,12
+888,17
@@
readable by accessing the upper dynamic scopes.
The grammar representing the TSDL metadata is presented in Appendix C.
TSDL Grammar. This section presents a rather ligher reading that
The grammar representing the TSDL metadata is presented in Appendix C.
TSDL Grammar. This section presents a rather ligher reading that
-consists in examples of TSDL metadata, with template values:
+consists in examples of TSDL metadata, with template values.
+
+Note that the trace endianness is usually extracted from the packet
+header magic number. The "endian" field is only needed when the magic
+number packet header field is not present.
trace {
major = value; /* Trace format version */
minor = value;
uuid = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"; /* Trace UUID */
trace {
major = value; /* Trace format version */
minor = value;
uuid = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"; /* Trace UUID */
+ endian = big OR little; /* Endianness (optional) */
packet.header := struct {
uint32_t magic;
uint8_t trace_uuid[16];
packet.header := struct {
uint32_t magic;
uint8_t trace_uuid[16];
This page took
0.022103 seconds
and
4
git commands to generate.