Diff for /wikisrc/tutorials/how_to_enable_and_run_dtrace.mdwn between versions 1.16 and 1.19

version 1.16, 2017/03/22 15:56:53 version 1.19, 2017/10/13 04:25:27
Line 8  Also see [DTrace Introduction](http://dt Line 8  Also see [DTrace Introduction](http://dt
 DTrace is a work-in-progress effort and it is for x86 systems and some arm boards.  DTrace is a work-in-progress effort and it is for x86 systems and some arm boards.
   
 * i386 and amd64  * i386 and amd64
 * earm* (evbarm and armv4 based ports (armv4 side requires further testing but system is built with CTF)  * earm* (evbarm and armv4 based ports)
   
 ## Supported providers  ## Supported providers
   
Line 48  Optionally: Line 48  Optionally:
 A Distribution needs to be built with the options `MKDTRACE=yes` and `MKCTF=yes`, this is taken care of automatically and doesn't need to be specified manually. The list of platforms it is applied to automatically is set in `src/share/mk/bsd.own.mk`  A Distribution needs to be built with the options `MKDTRACE=yes` and `MKCTF=yes`, this is taken care of automatically and doesn't need to be specified manually. The list of platforms it is applied to automatically is set in `src/share/mk/bsd.own.mk`
   
 Set the system to load the solaris and dtrace related modules in `/etc/modules.conf`, for a list of available modules, see `/stand/$MACHINE/$VERSION/modules/`  Set the system to load the solaris and dtrace related modules in `/etc/modules.conf`, for a list of available modules, see `/stand/$MACHINE/$VERSION/modules/`
   
   For example, add the following to `/etc/modules.conf` (the file may not exist already on a system):
           
     solaris      solaris
     dtrace      dtrace
Line 126  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 are installed:
   
   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.16  
changed lines
  Added in v.1.19


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