Debian Codegraph @

testsuite/buildok/nineteen.stp

raw
1 #! stap -p4
2
3 function msg1 (x) {
4 log(x)
5 }
6 function msg2 (x,y) {
7 log(x." ".y)
8 }
9
10 probe begin {
11 msg1("55");
12 msg1(sprint(55))
13
14 msg2("100", "GOOD")
15 msg2("GOOD", sprint(100))
16
17 # the next line caused a compile failure when uncommented; PR 1335
18 msg2(sprint(100), "GOOD")
19
20 exit()
21 }