Revision 913540a3 docs/tracing.txt
b/docs/tracing.txt | ||
---|---|---|
80 | 80 |
|
81 | 81 |
Format strings should reflect the types defined in the trace event. Take |
82 | 82 |
special care to use PRId64 and PRIu64 for int64_t and uint64_t types, |
83 |
respectively. This ensures portability between 32- and 64-bit platforms. Note |
|
84 |
that format strings must begin and end with double quotes. When using |
|
85 |
portability macros, ensure they are preceded and followed by double quotes: |
|
86 |
"value %"PRIx64"". |
|
83 |
respectively. This ensures portability between 32- and 64-bit platforms. |
|
87 | 84 |
|
88 | 85 |
=== Hints for adding new trace events === |
89 | 86 |
|
Also available in: Unified diff