Repository navigation
tools/oomkill: add -s option to print victim user stack trace - #5597
Open
adityagrewal wants to merge 1 commit into
Open
adityagrewal wants to merge 1 commit into
adityagrewal wants to merge 1 commit into
Conversation
adityagrewal
requested review from
brendangregg,
chenhengqi,
ekyooo and
yonghong-song
as code owners
November 18, 2026 16:48
adityagrewal
marked this pull request as draft
November 19, 2026 18:09
adityagrewal
force-pushed
the
oomkill-user-stack
branch
from
November 19, 2026 23:19
2921077 to
4201a51
Compare
adityagrewal
marked this pull request as ready for review
November 19, 2026 23:19
adityagrewal
marked this pull request as draft
November 19, 2026 23:20
adityagrewal
force-pushed
the
oomkill-user-stack
branch
from
November 19, 2026 23:23
4201a51 to
ca94d57
Compare
adityagrewal
marked this pull request as ready for review
November 19, 2026 23:24
adityagrewal
force-pushed
the
oomkill-user-stack
branch
3 times, most recently
from
November 20, 2026 00:23
219c01b to
fc62b59
Compare
Author
|
@brendangregg Hi Brendan, would you mind giving this PR a look? TIA :) |
adityagrewal
marked this pull request as draft
November 21, 2026 00:07
adityagrewal
marked this pull request as ready for review
November 21, 2026 13:43
adityagrewal
marked this pull request as draft
November 21, 2026 14:23
adityagrewal
force-pushed
the
oomkill-user-stack
branch
5 times, most recently
from
November 21, 2026 15:11
90c60a2 to
c5b9736
Compare
Signed-off-by: Aditya Grewal <aditya1998yr@gmail.com>
adityagrewal
force-pushed
the
oomkill-user-stack
branch
from
November 21, 2026 15:13
c5b9736 to
cfaea17
Compare
adityagrewal
marked this pull request as ready for review
November 21, 2026 15:15
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3654
Add
-s/--stacktooomkillto capture and print the user-space stack trace of the OOM-killed process (oc->chosen) usingKFUNC_PROBEandbpf_get_task_stack()withBPF_F_USER_STACK(requires BTF and Linux 5.9+). Without-s, the existingkprobebehavior remains unchanged.Test output: