[Bug kprobes/5759] probes in sched.c on preempt kernel cause reboot

jkenisto at us dot ibm dot com sourceware-bugzilla@sourceware.org
Wed Feb 13 18:08:00 GMT 2008


------- Additional Comments From jkenisto at us dot ibm dot com  2008-02-13 18:08 -------
Created an attachment (id=2259)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2259&action=view)
header file used by probe.c

Updated header so __init functions are commented out and joined with previous
lines, so that line number = array index + 1.

I probed all non-__init functions in kernel/sched.h.  Probing any of the
following functions causes a hang:
- add_preempt_count
- preempt_schedule
- sub_preempt_count
If I omit these (and the __init functions) from func_array.h, rebuild probe.ko,
and run "insmod probe.ko first=0 last=210" (i.e., probe all the other functions
together), everything seems to be fine.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #2254 is|0                           |1
           obsolete|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=5759

------- 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