This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/2183] kretprobe on schedule() leaks kretprobe_instances
- From: "bibo dot mao at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 23 Jan 2006 11:06:13 -0000
- Subject: [Bug kprobes/2183] kretprobe on schedule() leaks kretprobe_instances
- References: <20060119233133.2183.jkenisto@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.