summaryrefslogtreecommitdiffstats
path: root/tapset/DEVGUIDE
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-15 11:57:50 -0400
committerDave Brolley <brolley@redhat.com>2009-04-15 11:57:50 -0400
commit44602d5b700d547cb1d560e90c0187c3fe66d613 (patch)
tree7d7d423e761b117e4e10510f6a135d9160a7fc65 /tapset/DEVGUIDE
parent6c39ba6093aa0b3b86aa7e6f17a23ef322bd67cd (diff)
parent7a51212ca1895b85f400fafe0e5198525996af1d (diff)
downloadsystemtap-steved-44602d5b700d547cb1d560e90c0187c3fe66d613.tar.gz
systemtap-steved-44602d5b700d547cb1d560e90c0187c3fe66d613.tar.xz
systemtap-steved-44602d5b700d547cb1d560e90c0187c3fe66d613.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'tapset/DEVGUIDE')
-rw-r--r--tapset/DEVGUIDE6
1 files changed, 3 insertions, 3 deletions
diff --git a/tapset/DEVGUIDE b/tapset/DEVGUIDE
index e6bc3fb8..693521a8 100644
--- a/tapset/DEVGUIDE
+++ b/tapset/DEVGUIDE
@@ -59,8 +59,8 @@ For example, process execs can occur in either the do_execve() or the
compat_do_execve() functions. The following alias inserts probes at the
beginning of those functions:
-probe process.exec = kernel.function("do_execve"),
- kernel.function("compat_do_execve") {
+probe kprocess.exec = kernel.function("do_execve"),
+ kernel.function("compat_do_execve") {
< probe body >
}
@@ -87,7 +87,7 @@ process is retrieved by calling task_pid() and passing it the task_struct
pointer. In this case, the auxiliary function is an embedded C function
that's defined in the task tapset (task.stp).
-probe process.create = kernel.function("copy_process").return {
+probe kprocess.create = kernel.function("copy_process").return {
task = $return
new_pid = task_pid(task)
}