1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# printf execname # You can put initialization in here probe begin { printf("FOO\n") } # This gets probed millions of times. TEST gets replaces # by the real probe point. probe TEST { printf("%s\n", execname()) } probe end { printf("DONE\n") }