black listed functions

William Cohen wcohen@redhat.com
Mon Jun 5 21:41:00 GMT 2006


As a part of the simple look at systemtaps performance one of the 
benmarks instruments all the function entries 
(tests/benchmark/stap_compile/kfunct_all.stp):

# probe all kernel functions

probe kernel.function("*")
{
}


This is to see how much time it takes to generate code for this example 
and how long it takes to insert the code into the kernel 
(2.6.16-1.2245_FC6).  When it is being inserted into the kernel I got an 
error message like the following. Adding it to the black list got a 
similar error for arch_disarm_kprobe:


Pass 5: starting run.
Running sudo /usr/local/libexec/systemtap/stpd -r -u wcohen -d 10959 -c 
"true" /tmp/stapZBkdfs/stap_10959.ko
ERROR: probe 0 registration failed, rc=1, 
kernel.function("do_nmi@arch/x86_64/kernel/nmi.c:532")

I fixed those up in the black list the machine hung. It looks like there 
are other entries that need to be blacklisted.

-Will



More information about the Systemtap mailing list