diff options
author | markj <markj@FreeBSD.org> | 2014-10-03 23:20:37 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2014-10-03 23:20:37 +0000 |
commit | 91d5d12d67db05be29b36096bcb90e39e1541fae (patch) | |
tree | e5d14bcbe841b9c2e8e073a1970aa1c856236b02 /cddl/contrib/opensolaris/cmd/dtrace/test/tst/common | |
parent | b089d064397fe71608574f13f2e413d9e5c2786a (diff) | |
download | FreeBSD-src-91d5d12d67db05be29b36096bcb90e39e1541fae.zip FreeBSD-src-91d5d12d67db05be29b36096bcb90e39e1541fae.tar.gz |
Hook up support for userland CTF support in DTrace. This required some
modifications to libproc to support fetching the CTF info for a given file.
With this change, dtrace(1) is able to resolve type info for function and
USDT probe arguments, and function return values. In particular, the args[n]
syntax should now work for referencing arguments of userland probes,
provided that the requisite CTF info is available.
The uctf tests pass if the test programs are compiled with CTF info. The
current infrastructure around the DTrace test suite doesn't support this
yet.
Differential Revision: https://reviews.freebsd.org/D891
MFC after: 1 month
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/dtrace/test/tst/common')
-rw-r--r-- | cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh index 072fca7..54d975f 100644 --- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh +++ b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh @@ -38,7 +38,7 @@ fi ./$exe & pid=$! -$dtrace -32 -qs /dev/stdin <<EOF +$dtrace -qs /dev/stdin <<EOF typedef struct info { char *zi_gamename; int zi_ndungeons; |