The Microkernel Instrumentation

Updated:
QNX SDP8.0System ArchitectureDeveloperUser

The microkernel (procnto-smp-instr) is equipped with a sophisticated tracing and profiling mechanism that lets you monitor your system's execution in real time. This instrumentation works on both single-CPU and SMP systems.

The procnto-smp-instr instrumentation uses very little overhead and gives exceptionally good performance. The additional amount of code in the instrumented kernel is a relatively small price to pay for the added power and flexibility of this useful tool.

The instrumentation is nonintrusive—you don't have to modify a program's source code in order to monitor how that program interacts with the kernel. You can trace as many or as few interactions (e.g., kernel calls, state changes, and other system activities) as you want between the kernel and any running thread or process in your system. You can even monitor interrupts. In this context, all such activities are known as events.

For more details, see the System Analysis Toolkit User's Guide.