summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/fifteen.stp
blob: c57d28eb6c2ebdf87af6acfdab8a33b4b62b68b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! stap -p2

function trace (n) { return 0 }

# multiple independent derived probes using the "same" variable
# (this used to crash before we deep-copied the body)

probe begin, begin, begin
{
	base_num = 10
	trace(base_num)
}