Diff for /wikisrc/tutorials/how_to_enable_and_run_dtrace.mdwn between versions 1.18 and 1.22

version 1.18, 2017/04/08 21:38:18 version 1.22, 2017/10/13 08:24:18
Line 51  Set the system to load the solaris and d Line 51  Set the system to load the solaris and d
   
 For example, add the following to `/etc/modules.conf` (the file may not exist already on a system):  For example, add the following to `/etc/modules.conf` (the file may not exist already on a system):
           
     solaris  - `solaris`
     dtrace  - `dtrace`
     dtrace_sdt  - `dtrace_sdt`
     dtrace_fbt  - `dtrace_fbt`
     dtrace_lockstat  - `dtrace_lockstat`
     dtrace_profile  - `dtrace_profile`
     dtrace_syscall  - `dtrace_syscall`
           
 A `dtrace` device node is created automatically in `/dev/dtrace` when the modules are loaded into place.  A `dtrace` device node is created automatically in `/dev/dtrace` when the modules are loaded into place.
           
Line 128  in the kernel. Put it in sleep.d: Line 128  in the kernel. Put it in sleep.d:
           
   
 Start the script running (dtrace -s sleep.d) and then execute a "sleep 2" in another shell.   Start the script running (dtrace -s sleep.d) and then execute a "sleep 2" in another shell. 
   
   ## Tools included base
   
   Starting with NetBSD-8, on builds where `MKDTRACE=yes` is set, scripts from
   [Brendan Gregg's DTrace toolkit](https://github.com/opendtrace/toolkit/) are installed in base as standard.
   
   At present, the following scripts are installed in `/usr/sbin`: 
   
   - `dtruss` - An implementation of the truss utility in DTrace which traces the system calls
   made by a process
   - `execsnoop` - snoop on execution of processes as they occur
   - `opensnoop` - snoop on openning of files as they occur
   - `procsystime` -  print process system call time details.

Removed from v.1.18  
changed lines
  Added in v.1.22


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb