1 2 3 4 5 6 7 8 9 10 11 12 13
#! /bin/sh stap -p1 -g $@ - <<'END' %{ /* hello world */ %} function foo:long (p1:string, p2:long, p3) %{ /* goodbye world */ %} END