summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/memory/overcommit.stp
blob: a0800107fb2635b98f33d05e0e69b28f6fe316e1 (plain)
1
2
3
4
5
6
probe kernel.function("__vm_enough_memory").return {
  if ($return != 0) {
      printf("overcommit blocked malloc, process %s (%d), %d pages\n",
             execname(), pid(), $pages)
  }
}