This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
black listed functions
- From: William Cohen <wcohen at redhat dot com>
- To: "systemtap at sourceware dot org" <systemtap at sourceware dot org>
- Date: Mon, 05 Jun 2006 17:41:41 -0400
- Subject: 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