Debian Codegraph @

testsuite/transok/seven.stp

raw
1 #! stap -p3
2 #
3 # run at -p4 if you want to test the array temporary
4 # subexpression variable assignment order is good
5
6 global foo, bar
7
8 probe begin
9 {
10 x = 10
11 foo["hello"] = 25
12 foo["hello"]++
13 ++foo["hello"]
14 x = foo["hello"]
15 foo["yo"] *= bar[x, foo["hello"], "goodbye"]++;
16 log("hello from systemtap")
17 }
18
19