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

internal/fdtrace: allow tracing of sys package #1536

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Conversation

lmb
Copy link
Collaborator

@lmb lmb commented Aug 6, 2024

The sys package tests don't benefit from our fd leak tracking due to an import cycle between fdtrace and sys. Move the implementation into fdtrace and call fdtrace.TestMain from sys.

This lays the ground work to add platform specific debug aids to fdtrace later on.

The sys package tests don't benefit from our fd leak tracking due
to an import cycle between fdtrace and sys. Move the implementation
into fdtrace and call fdtrace.TestMain from sys.

This lays the ground work to add platform specific debug aids to
fdtrace later on.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
@lmb lmb requested a review from a team as a code owner August 6, 2024 13:04
@ti-mo ti-mo merged commit aa9ee2d into cilium:main Aug 6, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants