-
Notifications
You must be signed in to change notification settings - Fork 169
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
test(bpf): Add eBPF Test Suite #1535
test(bpf): Add eBPF Test Suite #1535
Conversation
🤖 SeineSailor Here is a concise summary of the pull request changes: Summary: This pull request, titled "WIP: BPF Testing," introduces a comprehensive eBPF test suite, refactors BPF code for testing, and migrates to
Impact: These changes significantly enhance the testing capabilities of the eBPF codebase, providing a comprehensive test suite and benchmarking support. The migration to Observations and suggestions:
|
This will fail CI (for now at least) due to needing access to hardware perf counters.
|
636b0c3
to
a9c26ae
Compare
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.
looks good over!
could you please resolve the unit-test failure ?
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.
LGTM!
Please do consider if the file descriptors must be closed before merging.
This commit adds a more comprehensive eBPF test suite. Currently it tests the operation of a number of key functions within the eBPF code - for example the main sched_switch tracepoint that we run. In addition, it runs a number of micro benchmarks so we can track performance of these key pieces of code. Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
This commit adds a more comprehensive eBPF test suite.
Currently it tests the operation of a number of key functions
within the eBPF code - for example the main sched_switch
tracepoint that we run. In addition, it runs a number
of micro benchmarks so we can track performance of these
key pieces of code.