blob: 82ebc4a97be6c0ebad32908f6698b37e91b505ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /bin/sh
./stap -p3 -g $@ - <<'END'
%{
void just_some_declaration () {}
%}
function bar(foo) %{ just_some_declaration(); THIS->__retvalue = THIS->foo + 5; %}
probe begin
{
bar (5) + 0
}
END
|