diff options
Diffstat (limited to 'examples/socket-trace.stp')
-rwxr-xr-x[-rw-r--r--] | examples/socket-trace.stp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/socket-trace.stp b/examples/socket-trace.stp index e574205a..13ab8e06 100644..100755 --- a/examples/socket-trace.stp +++ b/examples/socket-trace.stp @@ -1,4 +1,5 @@ -#! /usr/bin/stap +#! /usr/bin/env stap + probe kernel.function("*@net/socket.c").call { printf ("%s -> %s\n", thread_indent(1), probefunc()) } |