This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]