summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/thirteen.stp
blob: a5d6c400201fc9ba84397aa5291395f6cac03a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! stap -p2

global foo

function bar()
{
	foo["hello"] = 10
	return 10
}

probe begin
{
	foreach (a in foo) 
	{
		bar()
	}
	log("hello from systemtap")
}