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 translator/5613] New: memory leak when using stats


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.


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