xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Examples/syscallbysysc_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1The following is a demonstration of the syscallbysysc.d script,
2
3   # syscallbysysc.d
4   dtrace: description 'syscall:::entry ' matched 228 probes
5   ^C
6     fstat                                                             1
7     setcontext                                                        1
8     lwp_park                                                          1
9     schedctl                                                          1
10     mmap                                                              1
11     sigaction                                                         2
12     pset                                                              2
13     lwp_sigmask                                                       2
14     gtime                                                             3
15     sysconfig                                                         3
16     write                                                             4
17     brk                                                               6
18     pollsys                                                           7
19     p_online                                                        558
20     ioctl                                                           579
21
22In the above output, the ioctl system call was the most common, occuring
23579 times.
24
25