summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xexamples/small_demos/top.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/small_demos/top.stp b/examples/small_demos/top.stp
index 69931ab1..b46b9940 100755
--- a/examples/small_demos/top.stp
+++ b/examples/small_demos/top.stp
@@ -13,7 +13,7 @@ function print_top () {
delete syscalls
}
-probe kernel.function("sys_*").call {
+probe syscall.* {
syscalls[probefunc()]++
}