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 test for converting BpfProg into SymInfo #965

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

danielocfb
Copy link
Collaborator

Add a test for converting a BpfProg object into a SymInfo entity. This conversion is not currently exercised otherwise, because we don't support inspection of kernel data at this point.

Add a test for converting a BpfProg object into a SymInfo entity. This
conversion is not currently exercised otherwise, because we don't
support inspection of kernel data at this point.

Signed-off-by: Daniel Müller <[email protected]>
@danielocfb danielocfb merged commit d35d1fa into libbpf:main Jan 14, 2025
37 checks passed
@danielocfb danielocfb deleted the topic/bpf-prog-conversion branch January 14, 2025 22:13
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 94.74%. Comparing base (c1ed301) to head (5207d8e).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/kernel/bpf/prog.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #965      +/-   ##
==========================================
+ Coverage   94.64%   94.74%   +0.10%     
==========================================
  Files          58       58              
  Lines       10716    10717       +1     
==========================================
+ Hits        10142    10154      +12     
+ Misses        574      563      -11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

2 participants