Current File : //proc/self/root/kunden/proc/thread-self/root/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))
  }
}