Diff for /wikisrc/tutorials/how_to_enable_and_run_dtrace.mdwn between versions 1.25 and 1.27

version 1.25, 2018/07/22 15:42:50 version 1.27, 2019/07/21 12:28:26
Line 50  For example, add the following to `/etc/ Line 50  For example, add the following to `/etc/
           
 - `solaris`  - `solaris`
 - `dtrace`  - `dtrace`
 - `dtrace_sdt`  
 - `dtrace_fbt`  - `dtrace_fbt`
 - `dtrace_lockstat`  - `dtrace_lockstat`
 - `dtrace_profile`  - `dtrace_profile`
   - `dtrace_sdt`
 - `dtrace_syscall`  - `dtrace_syscall`
   - `dtrace_syscall_linux`
           
 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 100  Run the hello world script:  Line 101  Run the hello world script: 
     dtrace: script './hello.d' matched 1 probe      dtrace: script './hello.d' matched 1 probe
     CPU     ID                    FUNCTION:NAME      CPU     ID                    FUNCTION:NAME
       0      1                           :BEGIN   Hello world        0      1                           :BEGIN   Hello world
       
   The same script could be executed as a one liner on the shell, using
   
       dtrace -n 'BEGIN { trace("Hello world"); exit(0); }'
   
 ## A more complex example  ## A more complex example
   

Removed from v.1.25  
changed lines
  Added in v.1.27


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