☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
doc
/
SystemTap_Beginners_Guide
/
testsuite
/
systemtap.base
/
at_var_void_stmt.stp
☽
☼
doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/at_var_void_stmt.stp
code
plain
raw
1
global count = 1
2
3
function foo() {
4
count += 2
5
return 0
6
}
7
8
probe process.function("sub")
9
{
10
@var("foo", @1)->bar[foo()]
11
printf("count = %d\n", count)
12
exit()
13
}