[Bug 190493] New: dtrace: failed to resolve cwd: Unknown variable name
no-reply-bugzilla-daemon at freebsd.org
no-reply-bugzilla-daemon at freebsd.org
Mon Jun 2 07:55:12 UTC 2014
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 at FreeBSD.org
Reporter: xaionaro at 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 at 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 at 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 at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root at freebsd9:~ # uname -a
FreeBSD freebsd9 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26
22:50:31 UTC 2013 root at 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.
More information about the freebsd-bugs
mailing list