☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
testsuite
/
semko
/
foreachstmt01.stp
☽
☼
testsuite/semko/foreachstmt01.stp
code
plain
raw
1
#! stap -p2
2
3
# limit keyword with string expression
4
5
global array
6
7
probe begin
8
{
9
array[0] = 1
10
foreach (key in array limit "hi")
11
printf("key %d, value %d\n", key, array[key])
12
}