[Bug kprobes/2183] kretprobe on schedule() leaks kretprobe_instances

bibo dot mao at intel dot com sourceware-bugzilla@sourceware.org
Mon Jan 23 11:06:00 GMT 2006


------- Additional Comments From bibo dot mao at intel dot com  2006-01-23 11:06 -------
Created an attachment (id=845)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=845&action=view)
kretprobe test patch

Because kretprobe_inst_table is declared as static variable, module program can
not access it. Currently there is no good test method to verify this patch,
here I have to add another test patch to verity it, obviously this method is
awkward.
Without this patch, when kretprobe hit on schedule() function, the allocated
instance sum will be larger than freed instance sum,so there exist memory leak.

-- 


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

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