-
Notifications
You must be signed in to change notification settings - Fork 175
new(sinsp-example): add gvisor support #2185
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
new(sinsp-example): add gvisor support #2185
Conversation
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
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.
/approve
LGTM label has been added. Git tree hash: 8b1cc16b08e2247add2b56ae0f4ab633fb69bd92
|
@@ -60,10 +60,10 @@ add_library( | |||
scap_engine_gvisor ${scap_engine_gvisor_sources} ${scap_engine_gvisor_generated_sources} | |||
) | |||
|
|||
add_dependencies(scap_engine_gvisor uthash jsoncpp) | |||
add_dependencies(scap_engine_gvisor uthash jsoncpp scap_event_schema) |
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.
in an initial attempt, i tried to add gvisor to scap open but I faced a link error for scap_event_encode_params
so it seems correct to link against scap_event_schema
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Andreagit97, FedeDP The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I tried to add the support to scap-open but gvisor requires the platform as a scap-open argument, the issue is that |
Perf diff from master - unit tests
Heap diff from master - unit tests
Heap diff from master - scap file
Benchmarks diff from master
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2185 +/- ##
==========================================
- Coverage 75.08% 75.06% -0.02%
==========================================
Files 257 257
Lines 33792 33799 +7
Branches 5781 5785 +4
==========================================
- Hits 25373 25372 -1
- Misses 8419 8427 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area libsinsp
Does this PR require a change in the driver versions?
no
What this PR does / why we need it:
This PR adds Gvisor support to sinsp-example
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?: