Source Level Instrumentation

From TracingWiki

Jump to: navigation, search

TracingBook : Source Level Instrumentation


Source-level instrumentation may be classified as either automatic or manual.

For automatic instrumentation, special tools parse the source code and possibly generate a control flow graph, before adding instrumentation code at the specified locations (e.g. function entry or exit).

Manual instrumentation requires that the developers specify explicitly the instrumentation points inside their target application source code.

Static, source level instrumentation does not have the same constraints as dynamic binary instrumentation and thus allows the most flexibility for inserting low overhead instrumentation.

Personal tools