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

Status return #26

Merged
merged 2 commits into from
Jul 11, 2023
Merged

Status return #26

merged 2 commits into from
Jul 11, 2023

Conversation

alan-maguire
Copy link
Member

bpftune bpf initialization steps in macros in libbpftune.h (macros being used since bpf skeletons use object names in data structures) need to return status as without that we drive on if open/load/attach fail and this can trigger segmentation faults.

…attach,init]

we need to know if a phase fails as driving on in the face of failure
can lead to segmentation faults.

Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 11, 2023
@alan-maguire alan-maguire merged commit c8fd455 into main Jul 11, 2023
@cappelikan cappelikan mentioned this pull request Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant