This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

black listed functions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]