This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/16719] systemtap runs hold vmlinux file descriptor open
- From: "jlebon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 17 Mar 2014 19:06:06 +0000
- Subject: [Bug runtime/16719] systemtap runs hold vmlinux file descriptor open
- Auto-submitted: auto-generated
- References: <bug-16719-6586 at http dot sourceware dot org/bugzilla/>
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.