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