Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 262 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 262 Bytes

ebpf oomkill kprobe

Use 'go generate' to generate ebpf program. Minimal required kernel version is 5.8.

example

Run python test.py and sudo ebpf-oomkill which outputs log below.

probe
attach done
Waiting for events..
pid: 16541 comm: python