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

Add trace_tcp image based gadget #2428

Merged
merged 2 commits into from
Feb 5, 2024

Conversation

claudiamarcubina
Copy link
Member

Hello,

This PR adds trace_tcp as image based gadget.
Feedback for fixing tests is welcome.

Resolves #2372

Thank you!

Copy link
Member

@eiffel-fl eiffel-fl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi!

Here are some initial comments.

Best regards.

gadgets/trace_tcp/program.bpf.c Outdated Show resolved Hide resolved
gadgets/trace_tcp/program.bpf.c Outdated Show resolved Hide resolved
gadgets/trace_tcp/program.bpf.c Outdated Show resolved Hide resolved
gadgets/trace_tcp/gadget.yaml Show resolved Hide resolved
gadgets/trace_tcp/program.bpf.c Outdated Show resolved Hide resolved
integration/inspektor-gadget/run_trace_tcp_test.go Outdated Show resolved Hide resolved
Copy link
Member

@mauriciovasquezbernal mauriciovasquezbernal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's looking very good. Some comments around.

gadgets/trace_tcp/program.bpf.c Show resolved Hide resolved
gadgets/trace_tcp/program.bpf.c Outdated Show resolved Hide resolved
gadgets/trace_tcp/program.bpf.c Outdated Show resolved Hide resolved
gadgets/trace_tcp/program.bpf.c Outdated Show resolved Hide resolved
gadgets/trace_tcp/program.bpf.c Outdated Show resolved Hide resolved
@claudiamarcubina claudiamarcubina force-pushed the claudia/convert-trace-tcp-gadget branch 2 times, most recently from 66869c7 to 836c5a6 Compare February 3, 2024 11:53
Copy link
Member

@eiffel-fl eiffel-fl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi!

I have some comments, once addressed I will test it and unless I found something strange we should be able to merge it.

Best regards.

gadgets/trace_tcp/program.bpf.c Show resolved Hide resolved
integration/inspektor-gadget/run_trace_tcp_test.go Outdated Show resolved Hide resolved
integration/inspektor-gadget/run_trace_tcp_test.go Outdated Show resolved Hide resolved
Signed-off-by: Claudia Marcu <claudiamarcu@microsoft.com>
Signed-off-by: Claudia Marcu <claudiamarcu@microsoft.com>
Copy link
Member

@mauriciovasquezbernal mauriciovasquezbernal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for working on this!

@claudiamarcubina
Copy link
Member Author

LGTM. Thanks for working on this!

Thank you as well for the valuable feedback!

@claudiamarcubina claudiamarcubina merged commit fdba282 into main Feb 5, 2024
56 checks passed
@claudiamarcubina claudiamarcubina deleted the claudia/convert-trace-tcp-gadget branch February 5, 2024 20:09
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.

gadgets: Implement built-in trace-tcp gadget as image-based gadget
3 participants