Debian Codegraph @

testsuite/systemtap.examples/memory/overcommit.stp

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 }