[Bug kprobes/6707] oops crashes with 2.6.25 - onoffprobe
mwielaard at redhat dot com
sourceware-bugzilla@sourceware.org
Mon Jun 30 19:22:00 GMT 2008
------- 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.
More information about the Systemtap
mailing list