☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
testsuite
/
systemtap.examples
/
memory
/
overcommit.stp
☽
☼
testsuite/systemtap.examples/memory/overcommit.stp
code
plain
raw
1
#! /usr/bin/env stap
2
3
probe kernel.function("__vm_enough_memory").return {
4
if ($return != 0) {
5
printf("overcommit blocked malloc, process %s (%d), %d pages\n",
6
execname(), pid(), @entry($pages))
7
}
8
}