
We present two simple examples of how to use the perfmon interface.
The first examples shows how to write a self-monitoring program. The second shows how
to setup a single-CPU system-wide session. We provide the examples for both
the perfmon-1.x and perfmon-2.x interfaces:
- examples using the perfmon-1.x (2.4-based kernels), click here.
- examples using the perfmon-2.x (2.6-based kernels), click here.

|