Blob Blame History Raw
#! /bin/sh

stap $@ -p2 --skip-badvars -e '
probe syscall.read {
  if ($foo == 0)
    printf ("Voila! It works..\n")
  exit ()
}
'