-
Notifications
You must be signed in to change notification settings - Fork 164
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(driver): add 2 new scap stats #1303
Changes from 3 commits
920785e
fb43003
ed8276a
11c0b2c
d22d8b7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.0.2 | ||
5.0.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -190,6 +190,12 @@ FILLER_RAW(terminate_filler) | |
++state->n_drops_buffer_other_interest_enter; | ||
} | ||
break; | ||
case PPME_PROCEXIT_E: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Andreagit97 while we are here, I think it was during the loginuid PR where I saw we could cleanup and remove some of the old Also do you think the categories There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done :)
During my experiments I've never used other stats so at the moment I would say no 🤔 |
||
case PPME_PROCEXIT_1_E: | ||
if (state->n_drops_buffer_proc_exit != ULLONG_MAX) { | ||
++state->n_drops_buffer_proc_exit; | ||
} | ||
break; | ||
// exit | ||
case PPME_SYSCALL_OPEN_X: | ||
case PPME_SYSCALL_CREAT_X: | ||
|
@@ -274,6 +280,11 @@ FILLER_RAW(terminate_filler) | |
++state->n_drops_buffer_other_interest_exit; | ||
} | ||
break; | ||
case PPME_SYSCALL_CLOSE_X: | ||
if (state->n_drops_buffer_close_exit != ULLONG_MAX) { | ||
++state->n_drops_buffer_close_exit; | ||
} | ||
break; | ||
default: | ||
break; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup :D