-
Notifications
You must be signed in to change notification settings - Fork 166
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
update(sinsp): handle (deleted)
in userspace
#2151
update(sinsp): handle (deleted)
in userspace
#2151
Conversation
Signed-off-by: Andrea Terzolo <[email protected]>
Signed-off-by: Andrea Terzolo <[email protected]>
Please double check driver/SCHEMA_VERSION file. See versioning. /hold |
(deleted)
in userspace
I think this is a sensible fix/cleanup. +1 from me! |
LGTM label has been added. Git tree hash: 891f7f134ea36dc6c0cd848abc44bfe76aa8905d
|
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
[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 |
Perf diff from master - unit tests
Heap diff from master - unit tests
Heap diff from master - scap file
Benchmarks diff from master
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2151 +/- ##
==========================================
+ Coverage 74.67% 74.70% +0.03%
==========================================
Files 254 254
Lines 33513 33557 +44
Branches 5757 5754 -3
==========================================
+ Hits 25027 25070 +43
+ Misses 8486 8480 -6
- Partials 0 7 +7
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 cleanup
Any specific area of the project related to this PR?
/area driver-kmod
/area libsinsp
Does this PR require a change in the driver versions?
No
What this PR does / why we need it:
Before this patch, the
(deleted)
suffix was removed only in the kernel module since it was the unique driver that was able to generate a path with this suffix. But this is a sort of inconsistent approach because also from /proc scan we could receive a path terminating with(deleted)
. Since many users probably write rules likeproc.exepath endswith ...
seems reasonable to clean the exepath directly in userspace.Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?: