This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/2725] Attempting to probe all kernel functions hangs FC5
- From: "ldimaggi at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 2 Jun 2006 15:33:29 -0000
- Subject: [Bug runtime/2725] Attempting to probe all kernel functions hangs FC5
- References: <20060601184524.2725.ldimaggi@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From ldimaggi at redhat dot com 2006-06-02 15:33 -------
Thanks for all the suggestions feedback - I need to narrow this down - some more
notes, answers to questions...
Architecture = i386, T41 thinkpad (1GB RAM),
Linux dhcp83-56.boston.redhat.com 2.6.16-1.2122_FC5 #1 Sun May 21 15:01:01 EDT
2006 i686 i686 i386 GNU/Linux
It's a limit problem - 10K+ probes are being set:
------------
static char const * dwarf_kprobe_probe_613_location_names[10481] = {
"kernel.function(\"run_init_process@init/main.c:666\")",
"kernel.function(\"init@init/main.c:690\")",
"kernel.function(\"rest_init@init/main.c:389\")",
------------
stap_2615.ko is large too:
------------
[root@dhcp83-56 stap0bMFBZ]# ll
total 6552
-rw-r--r-- 1 root root 127 Jun 2 11:05 Makefile
-rw-r--r-- 1 root root 1066809 Jun 2 11:05 stap_2615.c
-rw-r--r-- 1 root root 2188299 Jun 2 11:05 stap_2615.ko
-rw-r--r-- 1 root root 1929 Jun 2 11:05 stap_2615.mod.c
-rw-r--r-- 1 root root 34008 Jun 2 11:05 stap_2615.mod.o
-rw-r--r-- 1 root root 2155316 Jun 2 11:05 stap_2615.o
-rw-r--r-- 1 root root 692476 Jun 2 11:05 stap-symbols.h
-rw-r--r-- 1 root root 492534 Jun 2 11:05 symbols.sorted
------------
This script reliably hangs - or even reboots the system:
------------
#!/usr/bin/env stap
probe begin {
log("begin")
}
probe end {
log("end")
}
probe kernel.function("*") {
}
------------
Nothing interesting is being written to /var/messages
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2725
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.