summaryrefslogtreecommitdiffstats
path: root/tapsets/dynamic_cg/usage.stp
diff options
context:
space:
mode:
authorfche <fche>2006-10-05 16:41:21 +0000
committerfche <fche>2006-10-05 16:41:21 +0000
commit8bec7eb3444e3a880bab121e300ba10c944d538a (patch)
tree5715c0da9f7cc10d2b0a2bf24a126297386c4768 /tapsets/dynamic_cg/usage.stp
parent30e13b11a5dbc6c457f34a56945d3a10183bf3b7 (diff)
downloadsystemtap-steved-8bec7eb3444e3a880bab121e300ba10c944d538a.tar.gz
systemtap-steved-8bec7eb3444e3a880bab121e300ba10c944d538a.tar.xz
systemtap-steved-8bec7eb3444e3a880bab121e300ba10c944d538a.zip
* round 'em up
* move 'em out
Diffstat (limited to 'tapsets/dynamic_cg/usage.stp')
-rw-r--r--tapsets/dynamic_cg/usage.stp30
1 files changed, 0 insertions, 30 deletions
diff --git a/tapsets/dynamic_cg/usage.stp b/tapsets/dynamic_cg/usage.stp
deleted file mode 100644
index 1625768b..00000000
--- a/tapsets/dynamic_cg/usage.stp
+++ /dev/null
@@ -1,30 +0,0 @@
-
-probe.kernel.sys_open.entry()
-{
- $dynamic_call_graph =1;
-}
-
-# What you would see in the output would be something of this kind
-# call sys_open
-# call getname
-# call do_getname
-# return do_getname
-# return getname
-# call get_unused_fd
-# call find_next_zero_bit
-# return find_next_zero_bit
-# return get_unused_fd
-# call filep_open
- .....
-return sys_open
-
-# The above probe could be customized to a particular process as well,
-# like in the following
-
-probe.kernel.sys_open.entry()
-{
-if ($PID == 1234)
- $dynamic_call_graph =1;
-}
-
-