http://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190493

            Bug ID: 190493
           Summary: dtrace: failed to resolve cwd: Unknown variable name
           Product: Base System
           Version: 10.0-RELEASE
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: xaion...@gmail.com

dtrace doesn't work as described on page [1].

[1] http://docs.oracle.com/cd/E18752_01/html/819-5488/gcfpz.html

Moreover official examples on "/usr/share" doesn't work as well:

[root@freebsd10 ~]# /usr/share/dtrace/toolkit/opensnoop -c 2>&1 | tail -1
: in action list: failed to resolve cwd: Unknown variable name

It's required a way to find out absolute paths of syscalls like "open". The
only way I see is to concatenate relative paths with "cwd", but variable "cwd"
doesn't work in FreeBSD.

Environment:
root@freebsd10:~ # uname -a
FreeBSD freebsd10.imperium.mephi.ru 10.0-RELEASE FreeBSD 10.0-RELEASE #0
r260789: Thu Jan 16 22:34:59 UTC 2014    
r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

root@freebsd9:~ # uname -a
FreeBSD freebsd9 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26
22:50:31 UTC 2013     r...@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC 
amd64

How-To-Repeat:
/usr/share/dtrace/toolkit/opensnoop -c

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to