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

custom event handling #1594

Merged
merged 3 commits into from
Oct 16, 2023
Merged

custom event handling #1594

merged 3 commits into from
Oct 16, 2023

Conversation

kkourt
Copy link
Contributor

@kkourt kkourt commented Oct 16, 2023

see patches

Create a handleMsgGenericKprobe function and use it in
handleGenericKprobe. There are no functional changes here, it's just a
refactoring for subsequent patches.

Signed-off-by: Kornilios Kourtis <[email protected]>
Create a handleMsgGenericTracepoint function and use it in
handleGenericKprobe. There are no functional changes here, it's just a
refactoring for subsequent patches.

Signed-off-by: Kornilios Kourtis <[email protected]>
@kkourt kkourt added the release-note/misc This PR makes changes that have no direct user impact. label Oct 16, 2023
Add support for policies to define their own custom event handlers.

Signed-off-by: Kornilios Kourtis <[email protected]>
@kkourt kkourt marked this pull request as ready for review October 16, 2023 09:40
@kkourt kkourt requested a review from a team as a code owner October 16, 2023 09:40
@kkourt kkourt requested a review from tpapagian October 16, 2023 09:40
Copy link
Member

@mtardy mtardy left a comment

Choose a reason for hiding this comment

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

Looks pretty innocent, just a little comment on the flow.

pkg/sensors/tracing/generickprobe.go Show resolved Hide resolved
@kkourt kkourt merged commit 0c44599 into main Oct 16, 2023
29 checks passed
@kkourt kkourt deleted the pr/kkourt/event-handler branch October 16, 2023 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants