????
| Current Path : /usr/share/systemtap/examples/memory/ |
| Current File : //usr/share/systemtap/examples/memory/overcommit.stp |
#!/usr/bin/stap
probe kernel.function("__vm_enough_memory").return {
if ($return != 0) {
printf("overcommit blocked malloc, process %s (%d), %d pages\n",
execname(), pid(), @entry($pages))
}
}