Hi, This version of the perfmon2 kernel patch should have what you need to use the performance counters from systemtap, i.e., from inside the kernel. Make sure you read the description at the top of perfmon_kapi.c as there are some known restrictions. I would appreciate your feedback on this. Thanks. -- -Stephane