-
Notifications
You must be signed in to change notification settings - Fork 185
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 dummy --filter-track-{tc,xdp} tests #492
Conversation
2f049a8
to
c013fd4
Compare
c013fd4
to
01e00d6
Compare
This is going to be used to test --filter-track-{xdp,tc}, and later on --filter-track-bpf-helpers. This commit adds the compiled BPF progs, to reduce the runtime dependency burden for the GH workflows (no need to install Clang). Signed-off-by: Martynas Pumputis <[email protected]>
621dd8a
to
68bca0b
Compare
So that we can check whether pwru can start when there are the progs loaded. Later on, we will extend the prog to call BPF helpers and do tail jumps. Signed-off-by: Martynas Pumputis <[email protected]>
68bca0b
to
3638c0b
Compare
- name: Build test-app | ||
run: | | ||
cd test-app | ||
go build . |
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.
I wonder whether we should run go generate
here to generate bpf_x86_bpfel.*
rather than adding these generated files to the repo. But then again I'm not sure what the standard practice is regarding these generated files for ebpf-go programs.
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.
Yeah, I was considering that, but then from the commit msg:
This commit adds the compiled BPF progs, to reduce the runtime dependency burden for the GH workflows (no need to install Clang)
I am expecting that prog to change very rarely, so the no need to install Clang for each PR outweighs the convenience.
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.
Should have read the commit message 😬 all good then
Depends on #484