This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/5613] New: memory leak when using stats
- From: "hunt at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 14 Jan 2008 17:35:01 -0000
- Subject: [Bug translator/5613] New: memory leak when using stats
- Reply-to: sourceware-bugzilla at sourceware dot org
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.