Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jun 2014 07:55:12 +0000
From:      no-reply-bugzilla-daemon@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 190493] New: dtrace: failed to resolve cwd: Unknown variable name
Message-ID:  <bug-190493-8@http.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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: xaionaro@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    
root@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     root@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190493-8>