Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve debug information handling #118

Open
javierhonduco opened this issue Nov 25, 2024 · 0 comments
Open

Improve debug information handling #118

javierhonduco opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@javierhonduco
Copy link
Owner

Right now we try to get ahold of debug information as soon as possible, to increase the chances of being able to open them before the get deleted / unmounted. The current implementation however has several shortcomings:

  • too many object files are opened for a very long period of time, and in some cases there might not even be debug information in them;
  • the current implementation doesn't account different debug information storage implementation;

Ideally an improved implementation would reduce the amount of file descriptors open, while still keeping the chance of successfully being able to deal with the debug information as high as possible.

Note: right now the current "potential" container path to absolute root mount view, is a bit wasteful in terms of memory. We should only prepend /proc/<pid>/root if the process is running in another mount namespace.

@javierhonduco javierhonduco changed the title Improve how debug information handling Improvex debug information handling Nov 25, 2024
@javierhonduco javierhonduco changed the title Improvex debug information handling Improve debug information handling Nov 25, 2024
@javierhonduco javierhonduco self-assigned this Nov 25, 2024
@javierhonduco javierhonduco added the enhancement New feature or request label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant