[Bug runtime/16719] systemtap runs hold vmlinux file descriptor open

jlebon at redhat dot com sourceware-bugzilla@sourceware.org
Mon Mar 17 19:06:00 GMT 2014


https://sourceware.org/bugzilla/show_bug.cgi?id=16719

Jonathan Lebon <jlebon at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jlebon at redhat dot com

--- Comment #2 from Jonathan Lebon <jlebon at redhat dot com> ---
Currently looking into this. We do try to clean up by calling build_no_more()
once we finished building the probe, which takes care of freeing all the dwflpp
objects and the session's module cache. But it seems like we're missing a
crucial step of first closing open files. Note this issue also affects
userspace programs.

The files are first opened during the ctor of dwflpp, when asking libdwfl to
report the kernel found on disk. So it may just be that we need to do some
extra libdwfl calls either in the dwflpp dtor or the module_cache dtor to clean
that up nicely.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Systemtap mailing list