Skip to content

Support tracking skb clones#275

Merged
brb merged 2 commits intocilium:mainfrom
Asphaltt:feature/track-skb-clones
Oct 25, 2023
Merged

Support tracking skb clones#275
brb merged 2 commits intocilium:mainfrom
Asphaltt:feature/track-skb-clones

Conversation

@Asphaltt
Copy link
Contributor

Fix #200

It's unnecessary to loading kprobe_skb_lifetime_termination bpf prog
when --filter-track-skb is not enabled.

For next commit, it skips loading other skb-tracking bpf progs too.

Signed-off-by: Leon Hwang <hffilwlqm@gmail.com>
With --filter-track-skb option, we're able to track sbk by its address.

Then, as for skb's clones/copies, we're able to track them too, by the
way `fexit` on `skb_clone()` and `skb_copy()`.

Signed-off-by: Leon Hwang <hffilwlqm@gmail.com>
@Asphaltt Asphaltt force-pushed the feature/track-skb-clones branch from 47289c3 to 0dc1f2c Compare October 24, 2023 12:37
@brb brb self-requested a review October 24, 2023 14:29
Copy link
Member

@jschwinger233 jschwinger233 left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

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

Thanks! Time for a new release :shipit:

@brb brb merged commit 0d4fc40 into cilium:main Oct 25, 2023
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.

Track SKB clones

3 participants