summaryrefslogtreecommitdiff
path: root/Examples/tcl_proccalls_example.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/tcl_proccalls_example.txt')
-rw-r--r--Examples/tcl_proccalls_example.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Examples/tcl_proccalls_example.txt b/Examples/tcl_proccalls_example.txt
new file mode 100644
index 000000000000..ed6820dddfb7
--- /dev/null
+++ b/Examples/tcl_proccalls_example.txt
@@ -0,0 +1,17 @@
+Following are examples of running tcl_proccalls.d.
+
+The output shows what happens when the code from Code/Tcl/func_abc.tcl is
+traced.
+
+# tcl_proccalls.d
+Tracing... Hit Ctrl-C to end.
+^C
+ PID COUNT PROCEDURE
+ 16078 1 func_a
+ 16078 1 func_b
+ 16078 1 func_c
+ 16078 1 tclInit
+
+This simple output shows that PID 16078 was responsible for four procedures
+beginning, one each of func_a, func_b, func_c, and tclInit.
+