Diff for /wikisrc/tutorials/how_to_enable_and_run_dtrace.mdwn between versions 1.14 and 1.17

version 1.14, 2017/03/22 15:33:08 version 1.17, 2017/03/22 16:04:46
Line 1 Line 1
 DTrace is a Dynamic Tracing framework developed by Sun and ported to NetBSD. It enables extensive instrumentation of the kernel and user space. See the [DTrace Community Page](http://dtrace.org) for more information. Also see [DTrace Introduction](http://dtrace.org/guide/preface.html).   DTrace is a Dynamic Tracing framework developed by Sun and ported to NetBSD. It enables extensive instrumentation of the kernel and user space. See the [DTrace Community Page](http://dtrace.org) for more information.
   Also see [DTrace Introduction](http://dtrace.org/guide/preface.html), Brendan Gregg's [DTrace one liners](http://www.brendangregg.com/DTrace/dtrace_oneliners.txt) and his notes for [DTrace on FreeBSD](https://wiki.freebsd.org/DTrace/).
   
 # Current status  # Current status
   
Line 41  You need the following options in your k Line 42  You need the following options in your k
     options         MODULAR      options         MODULAR
   
 Optionally:  Optionally:
   
     options         INSECURE   # permit modules to loaded from user space once system has gone multiuser and securelevel has been raised.      options         INSECURE   # permit modules to loaded from user space once system has gone multiuser and securelevel has been raised.
   
 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

Removed from v.1.14  
changed lines
  Added in v.1.17


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