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

[PLAT-16596] Expose CLI parameters for activation frequency from EarlyOOM #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yorq
Copy link

@yorq yorq commented Mar 11, 2025

No description provided.

@yorq yorq requested a review from amannijhawan March 11, 2025 17:29
@amannijhawan
Copy link

Can you please add testing done, and a description for why this is necessary?

@@ -31,6 +31,10 @@ typedef struct {
regex_t* ignore_regex;
/* memory report interval, in milliseconds */
int report_interval_ms;
/* minimal interval between checks */

Choose a reason for hiding this comment

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

is there valid values for this for min and max?

@@ -147,7 +149,7 @@ int main(int argc, char* argv[])
meminfo_t m = parse_meminfo();

int c;
const char* short_opt = "m:s:M:S:kingN:dvr:ph";
const char* short_opt = "l:m:s:M:S:kingN:dvr:ph";

Choose a reason for hiding this comment

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

so we are using one cli switch to send in 2 values?
What if we want to override only one?

@amannijhawan
Copy link

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.

2 participants