netbsd/external/cddl/dtracetoolkit/dist/Examples/tcl_proccalls_example.txt
2015-10-15 10:25:28 +02:00

18 lines
448 B
Plaintext

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.