]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/tcl_calls_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / tcl_calls_example.txt
1 The following are examples of the results of running the tcl_calls.d script.
2
3 In this example we see it running while the Code/Tcl/func_abc.tcl script is run.
4
5 # tcl_calls.d     Tracing... Hit Ctrl-C to end.
6 ^C
7     PID TYPE     NAME                                                    COUNT
8   16021 cmd      concat                                                      1
9   16021 cmd      exit                                                        1
10   16021 cmd      func_a                                                      1
11   16021 cmd      func_b                                                      1
12   16021 cmd      func_c                                                      1
13   16021 cmd      list                                                        1
14   16021 cmd      rename                                                      1
15   16021 cmd      source                                                      1
16   16021 cmd      tclInit                                                     1
17   16021 cmd      unset                                                       1
18   16021 cmd      uplevel                                                     1
19   16021 cmd      variable                                                    1
20   16021 proc     func_a                                                      1
21   16021 proc     func_b                                                      1
22   16021 proc     func_c                                                      1
23   16021 proc     tclInit                                                     1
24   16021 cmd      foreach                                                     2
25   16021 cmd      global                                                      2
26   16021 cmd      interp                                                      2
27   16021 cmd      package                                                     2
28   16021 cmd      set                                                         2
29   16021 cmd      after                                                       3
30   16021 cmd      namespace                                                   3
31   16021 cmd      puts                                                        3
32   16021 cmd      lappend                                                     4
33   16021 cmd      lsearch                                                     4
34   16021 cmd      if                                                          8
35   16021 cmd      info                                                       11
36   16021 cmd      file                                                       12
37   16021 cmd      proc                                                       12
38
39 You can see that PID 16021 made quite a few different types of command and
40 procedure calls during its execution.
41