This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/6707] oops crashes with 2.6.25 - onoffprobe
- From: "mwielaard at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 30 Jun 2008 16:52:51 -0000
- Subject: [Bug kprobes/6707] oops crashes with 2.6.25 - onoffprobe
- References: <20080630103842.6707.mwielaard@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mwielaard at redhat dot com 2008-06-30 16:52 -------
I narrowed it down to the following script:
global switch=-1
#begin probe
probe begin if (switch==-1) {
log("begin1 probed");
}
probe begin if (switch==0) {
log("begin2 probed");
}
#dwarf probe (return)
probe kernel.function("sys_write").return if (switch == 1) {
log("function return probed")
switch = 0
}
#dwarf probe (entry)
probe kernel.function("sys_write") if (switch == 2) {
log("function entry probed")
switch = 0
}
It looks like if I remove any of the probes, the conditions, or manipulate
switch in any other way, things don't hang.
So, what I expect is to see a bit more log output. But all I get when it hangs
is (run with /usr/local/systemtap/bin/stap -k -vv -DDEBUG_SYMBOLS=2
onoffprobe.stp -m onoffprobe):
begin1 probed
_stp_module_relocate:36: kernel, _stext, 805fd
_stp_module_relocate:36: kernel, _stext, 805fd
none of the other probes seem to log anything in that case.
This needs some more investigation.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6707
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.