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 runtime/16719] systemtap runs hold vmlinux file descriptor open


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.


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