Revision 8f642117
b/docs/tracing.txt | ||
---|---|---|
70 | 70 |
cannot include all user-defined struct declarations and it is therefore |
71 | 71 |
necessary to use void * for pointers to structs. |
72 | 72 |
|
73 |
Pointers (including char *) cannot be dereferenced easily (or at all) in |
|
74 |
some trace backends. If pointers are used, ensure they are meaningful by |
|
75 |
themselves and do not assume the data they point to will be traced. Do |
|
76 |
not pass in string arguments. |
|
77 |
|
|
78 | 73 |
* For everything else, use primitive scalar types (char, int, long) with the |
79 | 74 |
appropriate signedness. |
80 | 75 |
|
... | ... | |
182 | 177 |
trace backends but it is portable. This is the recommended trace backend |
183 | 178 |
unless you have specific needs for more advanced backends. |
184 | 179 |
|
180 |
The "simple" backend currently does not capture string arguments, it simply |
|
181 |
records the char* pointer value instead of the string that is pointed to. |
|
182 |
|
|
185 | 183 |
==== Monitor commands ==== |
186 | 184 |
|
187 | 185 |
* info trace |
Also available in: Unified diff