-
Notifications
You must be signed in to change notification settings - Fork 228
ebpf windows plugin + e2e comp tests #1467
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
Open
vpidatala94
wants to merge
20
commits into
microsoft:main
Choose a base branch
from
vpidatala94:user/vpidatala/POC/pr-7
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…UM_NOTIFY_TRACE_SOCK events
… dummy flow object to send it to enricher
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
kumarvin123
reviewed
Mar 25, 2025
} | ||
meta := &utils.RetinaMetadata{} | ||
// Add packet size to the flow's metadata. | ||
utils.AddPacketSize(meta, 128) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment for these hardcoded 128 bytes packet length.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ebpf windows plugin + e2e comp tests
Changes being introduced.
test\e2e\tools\event-writer : this is an test tool that helps generating mock trace and drop events using a BPF program based on customer inputs. The tools consists a BPF program and C++ Application that is used to load/unload and attach/update filter
Tool is intentionally building only for Release config variant for x64.
ebpf-for-windows plugin in pkg/plugin/ebpf-for-windows consists of changes to capture advanced metrics using Hubble parser for trace, drop changes. There are additional changes in the plugin to update retina metadata.
Additional changes in E2E with jobs
a. to load program, maps and pin it because retina ebpfwindows plugin expects cilium maps pre-loaded.
b. to validate windows BPF metrics advanced + basic.
c. to unpin BPF program, maps at the end of tests
Additional changes made in retina source to enable ebpfwindows plugin, made changes in retina win config-map to enable pod-level metrics + annotations << to mitigate a bug in retina that causes retina win daemon-sets to not cause a rollout during helm upgrade