summaryrefslogtreecommitdiffstats
path: root/runtime/probes/shellsnoop
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/probes/shellsnoop')
-rw-r--r--runtime/probes/shellsnoop/README12
1 files changed, 9 insertions, 3 deletions
diff --git a/runtime/probes/shellsnoop/README b/runtime/probes/shellsnoop/README
index fee5e4c1..70b5e614 100644
--- a/runtime/probes/shellsnoop/README
+++ b/runtime/probes/shellsnoop/README
@@ -1,7 +1,12 @@
-Sample probe.
+/** @dir shellsnoop
+Snoops on what commands are being run by shells.
-This is a translation of on an old dtr probe:
+This is a translation of on an old dtr probe. It demonstrates maps,
+lists, and how to use _stp_copy_argv_from_user() and _stp_strncpy_from_user().
+Original dtr source:
+
+\verbatim
# shellsnoop.probe - snoop shell execution as it occurs.
# clone of dtrace shellsnoop example
@@ -64,4 +69,5 @@ probe sys_write:entry {
}
}
}
-
+\endverbatim
+*/