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

tetragon: Remove AllPrograms from uprobe sensor #2382

Merged
merged 3 commits into from
May 30, 2024
Merged

Conversation

olsajiri
Copy link
Contributor

It's handled through sensor.Load, there's no need to do it manually.

@olsajiri olsajiri added the release-note/misc This PR makes changes that have no direct user impact. label Apr 26, 2024
@olsajiri olsajiri force-pushed the pr/olsajiri/fixes branch 2 times, most recently from fb53a19 to f769ccb Compare May 27, 2024 13:09
@olsajiri olsajiri marked this pull request as ready for review May 28, 2024 08:44
@olsajiri olsajiri requested a review from a team as a code owner May 28, 2024 08:44
@olsajiri olsajiri requested a review from tixxdz May 28, 2024 08:44
@olsajiri olsajiri marked this pull request as draft May 28, 2024 10:38
Using sensors.UnloadSensors on exit instead of observer RemovePrograms.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
It's handled through sensor.Load, there's no need to
do it manually.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Feature detection do not use sensors load path, so there's
no need to cleanup AllPrograms on start.

Removing the observer RemovePrograms function completely
as the tetragon is the only caller.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
@olsajiri olsajiri marked this pull request as ready for review May 28, 2024 21:23
@olsajiri olsajiri requested a review from kkourt May 28, 2024 21:24
@jrfastab jrfastab merged commit 6544f1b into main May 30, 2024
40 checks passed
@jrfastab jrfastab deleted the pr/olsajiri/fixes branch May 30, 2024 14:45
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.

None yet

2 participants