1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#! stap -p2 # need one of these for each prohibited statistic operation global x function foo(bar) { bar <<< x } probe end { x <<< 10 foo(x) }