#! /bin/sh stap -p3 -g $@ - <<'END' %{ void just_some_declaration () {} %} function bar(foo) %{ just_some_declaration(); STAP_RETVALUE = STAP_ARG_foo + 5; %} probe begin { bar (5) + 0 } END