#! stap -p3 # # run at -p4 if you want to test the array temporary # subexpression variable assignment order is good global foo, bar probe begin { x = 10 foo["hello"] = 25 foo["hello"]++ ++foo["hello"] x = foo["hello"] foo["yo"] *= bar[x, foo["hello"], "goodbye"]++; log("hello from systemtap") }