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

pkg:sensors: simplify GetRunningProcs() when we read running processes #233

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

tixxdz
Copy link
Member

@tixxdz tixxdz commented Jul 13, 2022

GetRunningProcs() that reads process entries from procfs during startup
takes two boolean arguments which we always set to true, then it passes
these arguments down to how we send data to listeners and to write to the
execve_map.

Let's simplify this and remove these arguments as this makes reading code
easier.

Signed-off-by: Djalal Harouni [email protected]

GetRunningProcs() that reads process entries from procfs during startup
takes two boolean arguments which we always set to true, then it passes
these arguments down to how we send data to listeners and to write to the
execve_map.

Let's simplify this and remove these arguments as this makes reading code
easier.

Signed-off-by: Djalal Harouni <[email protected]>
@tixxdz tixxdz requested a review from a team as a code owner July 13, 2022 16:14
Copy link
Contributor

@kkourt kkourt left a comment

Choose a reason for hiding this comment

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

Thanks!

@michi-covalent michi-covalent merged commit f3a521f into cilium:main Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants