Skip to content

Comments

internal/fdtrace: allow tracing of sys package#1536

Merged
ti-mo merged 1 commit intocilium:mainfrom
lmb:sys-tracing
Aug 6, 2024
Merged

internal/fdtrace: allow tracing of sys package#1536
ti-mo merged 1 commit intocilium:mainfrom
lmb:sys-tracing

Conversation

@lmb
Copy link
Contributor

@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 <[email protected]>
@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
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