-
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
refactor(libsinp): refactor filter transformers to use interfaces #2224
Conversation
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 #2224 +/- ##
==========================================
+ Coverage 75.06% 75.10% +0.04%
==========================================
Files 267 274 +7
Lines 34259 34302 +43
Branches 5930 5934 +4
==========================================
+ Hits 25715 25762 +47
+ Misses 8544 8540 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
I really like the design; what about splitting the new sinsp_filter_FOO_transformer
classes in new files?
It would lead to much better readability.
Also RE naming: i suggest
sinsp_filter_transformer_toupper
instead of sinsp_filter_toupper_transformer
; it is easier to lookup.
/milestone 0.20.0 |
63959b4
to
070df05
Compare
userspace/libsinsp/sinsp_filter_transformers/sinsp_filter_transformer.cpp
Outdated
Show resolved
Hide resolved
070df05
to
a955289
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.
/approve
LGTM label has been added. Git tree hash: 93f9c93317c891c21789435ed9f9e42e6744159d
|
Signed-off-by: Roberto Scolaro <[email protected]>
Signed-off-by: Roberto Scolaro <[email protected]>
Signed-off-by: Roberto Scolaro <[email protected]>
Signed-off-by: Roberto Scolaro <[email protected]>
Signed-off-by: Roberto Scolaro <[email protected]>
Signed-off-by: Roberto Scolaro <[email protected]>
a57d079
to
4f86dba
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.
/approve
LGTM label has been added. Git tree hash: 291034fad4f680d7ffc44427c26a47d18cf2635d
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, therealbobo 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 |
What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
Does this PR require a change in the driver versions?
What this PR does / why we need it:
Just a cleanup to enhance the maintainability of the transfomers.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: