aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/dtracetoolkit/Examples/tcl_proccalls_example.txt
blob: ed6820dddfb78bd8fb4236352ed44572c013c3c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.