refactor(libsinp): refactor filter transformers to use interfaces#2224
refactor(libsinp): refactor filter transformers to use interfaces#2224poiana merged 6 commits intofalcosecurity:masterfrom
Conversation
Perf diff from master - unit testsHeap diff from master - unit testsHeap diff from master - scap fileBenchmarks 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. |
FedeDP
left a comment
There was a problem hiding this comment.
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
|
LGTM label has been added. DetailsGit tree hash: 93f9c93317c891c21789435ed9f9e42e6744159d |
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
a57d079 to
4f86dba
Compare
|
LGTM label has been added. DetailsGit 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 DetailsNeeds 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?: