summaryrefslogtreecommitdiffstats
path: root/tapsets/dynamic_cg/usage.stp
diff options
context:
space:
mode:
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;
-}
-
-