[Bug translator/5613] New: memory leak when using stats
hunt at redhat dot com
sourceware-bugzilla@sourceware.org
Mon Jan 14 17:35:00 GMT 2008
stats are created but never deleted, resulting in a leak in kernel memory.
>cat stat.stp
global foo
probe begin
{
foo <<< 2
foo <<< 4
foo <<< 6
printf("count=%d sum=%d\n", @count(foo), @sum(foo))
}
> stap -p3 stat.stp | grep _stp_stat_del
Should see call to _stp_stat_del(global.s_foo)
but it isn't there.
--
Summary: memory leak when using stats
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P1
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: hunt at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5613
------- 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