#! stap -p2 # arrays can't be inferred as anything else global a[10] probe begin { printf("%d\n", @count(a)) # try to make 'a' a stat }