0 Replies Latest reply on Oct 30, 2013 2:27 AM by Taral

    Dtrace Issue with UEK3

    Taral

      Guys,

       

      I am starting to learn dtrace but getting error and here is my environment

       

      [root@linux6 ~]# lsmod | grep -i dtrace

      dtrace                135696  4 systrace,profile,fasttrap,sdt

      ctf                      941  1 dtrace

      [root@linux6 ~]#

      [root@linux6 ~]#

      [root@linux6 ~]# rpm -qa | grep -i dtrace

      dtrace-modules-3.8.13-16.el6uek-0.4.0-3.el6.x86_64

      libdtrace-ctf-0.4.0-1.x86_64

      dtrace-modules-3.8.13-16.1.1.el6uek-provider-headers-0.4.0-3.el6.x86_64

      dtrace-modules-3.8.13-16.el6uek-provider-headers-0.4.0-3.el6.x86_64

      libdtrace-ctf-devel-0.4.0-1.x86_64

      dtrace-utils-0.4.0-4.el6.x86_64

      dtrace-modules-3.8.13-16.1.1.el6uek-0.4.0-3.el6.x86_64

      dtrace-utils-devel-0.4.0-4.el6.x86_64

      dtrace-modules-3.8.13-16.1.1.el6uek-headers-0.4.0-3.el6.x86_64

      dtrace-modules-3.8.13-16.el6uek-headers-0.4.0-3.el6.x86_64

      [root@linux6 ~]# dtrace -q -n syscall::open:entry'{ printf("%-16s%-16s\n", execname,copyinstr(arg0)); }'

      dtrace: failed to initialize dtrace: Is a directory

      [root@linux6 ~]#

       

      [root@linux6 ~]# uname -a

      Linux linux6.localdomain 3.8.13-16.1.1.el6uek.x86_64 #1 SMP Tue Oct 22 11:27:59 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux

       

      Also, the example i am using is from

      How to Get Started Using DTrace on Oracle Linux </title><meta name="Title" content="How to Get S…

       

      Basically i am trying to sample oracle pid calls.