#! stap -p2 global foo function bar() { foo["hello"] = 10 return 10 } probe begin { foreach (a in foo) { bar() } log("hello from systemtap") }