Changes between Version 11 and Version 12 of Developer/Tracing/Trace_Linker
- Timestamp:
- 03/24/15 00:39:49 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developer/Tracing/Trace_Linker
v11 v12 233 233 === Generators === 234 234 235 Generators sections specify how to generate trace wrapping code. The trace linker and generator section must match to work. The trace linker expects a some things to be present when wrapping functions. The section's name specifies the generator and can be listed in a `generator` key in a `tracer` or `trace` section. 235 Generators sections specify how to generate trace wrapping code. The trace linker and generator section must match to work. The trace linker expects a some things to be present when wrapping functions. The section's name specifies the generator and can be listed in a `generator` key in a `tracer` or `trace` section. If the generator is not interested in a specific phase it does not need do not define it and nothing will be generated. For example code to profile specific functions may only provide the `entry-trace` and `exit-trace` code where a nano-second time stamp is taken. 236 236 237 237 A generator specifies the code generated when: … … 270 270 @RET_LABEL@:: The return value as a C label that can be referenced. 271 271 272 The the generator is not interested in a specific phase it does not need to define and nothing will be generated. For example code to profile specific function may only provide the `entry-trace` and `exit-trace` code where a nano-second time stamp is taken.273 274 272 An example generator section is: 275 273