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

new: add a new drop category n_drops_scratch_map #1916

Merged
merged 2 commits into from
Mar 1, 2022

Conversation

Andreagit97
Copy link
Member

Signed-off-by: Andrea Terzolo andrea.terzolo@polito.it

What type of PR is this?

/kind feature

Any specific area of the project related to this PR?

/area engine

What this PR does / why we need it:

This PR allows computing the delta also for scratch_map drops.
The scratch_map drops are a new drop category introduced here.
These drops are related only to the bpf probe: a scratch_map drop happens when an event is too large and cannot be saved into the frame_scratch_map before being sent to userspace. The idea here is to clearly separate drops due to a full buffer from those caused by events that are too large. For more information take a look at this PR 👇

falcosecurity/libs#224

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

new: add a new drop category `n_drops_scratch_map`

@jasondellaluce
Copy link
Contributor

/retest

Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it>
@Andreagit97 Andreagit97 force-pushed the add_new_drop_type branch 2 times, most recently from 2d99c8b to 773c454 Compare February 25, 2022 09:34
Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it>
Copy link
Contributor

@jasondellaluce jasondellaluce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

Thank you @Andreagit97 !!

@poiana
Copy link

poiana commented Mar 1, 2022

LGTM label has been added.

Git tree hash: f7ab0a6bdcc260f590bd4c7cee9b64a195643b14

@poiana poiana added the approved label Mar 1, 2022
@leogr
Copy link
Member

leogr commented Mar 1, 2022

/milestone 0.32.0

Copy link
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

/approve

@poiana
Copy link

poiana commented Mar 1, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, jasondellaluce, leogr

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:
  • OWNERS [jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 04ce76b into falcosecurity:master Mar 1, 2022
@jasondellaluce jasondellaluce added this to the 0.31.1 milestone Mar 7, 2022
@Andreagit97 Andreagit97 deleted the add_new_drop_type branch October 15, 2022 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants