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

[tools/oomkill.py](https://github.com/iovisor/bcc/blob/master/tools/oomkill.py) (and associated [tools/oomkill_example.txt](https://github.com/iovisor/bcc/blob/master/tools/oomkill_example.txt)) are a good start. You'd have to add a [bpf_get_task_stack](https://github.com/iovisor/bcc/blob/598aba3f491174c2ff258265795ab75e6a582616/src/cc/export/helpers.h#L816) call and associated changes to oomkill's perf buf output. #1

Open
nasrin256 opened this issue Nov 28, 2024 · 0 comments

Comments

@nasrin256
Copy link

          [`tools/oomkill.py`](https://github.com/iovisor/bcc/blob/master/tools/oomkill.py) (and associated [`tools/oomkill_example.txt`](https://github.com/iovisor/bcc/blob/master/tools/oomkill_example.txt)) are a good start. You'd have to add a [`bpf_get_task_stack`](https://github.com/iovisor/bcc/blob/598aba3f491174c2ff258265795ab75e6a582616/src/cc/export/helpers.h#L816) call and associated changes to oomkill's perf buf output.

This would be a useful feature to add to oomkill so if you end up doing this please send a PR!

Originally posted by @davemarchevsky in iovisor/bcc#3654 (comment)

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

No branches or pull requests

1 participant