diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-10-06 21:58:38 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-10-06 21:58:38 +0000 |
commit | 7c2a5d79afd81f0e773ba7ddc4fe40c4c3d62627 (patch) | |
tree | 52c11c1990eccc6a0f7281e868a447f7a337a01d /lib | |
parent | cb4dcd0eff4e6b716d70dbc789e83538ea109d30 (diff) | |
download | FreeBSD-src-7c2a5d79afd81f0e773ba7ddc4fe40c4c3d62627.zip FreeBSD-src-7c2a5d79afd81f0e773ba7ddc4fe40c4c3d62627.tar.gz |
truss: Add support for utrace(2).
This uses the kdump(1) utrace support code directly until a common library
is created.
This allows malloc(3) tracing with MALLOC_CONF=utrace:true and rtld tracing
with LD_UTRACE=1. Unknown utrace(2) data is just printed as hex.
PR: 43819 [inspired by]
Reviewed by: jhb
MFC after: 2 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D3819
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/utrace.2 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/sys/utrace.2 b/lib/libc/sys/utrace.2 index 9d24f20..345c1fd 100644 --- a/lib/libc/sys/utrace.2 +++ b/lib/libc/sys/utrace.2 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 1, 2014 +.Dd October 5, 2015 .Dt UTRACE 2 .Os .Sh NAME @@ -70,7 +70,8 @@ support .Sh SEE ALSO .Xr kdump 1 , .Xr ktrace 1 , -.Xr ktrace 2 +.Xr ktrace 2 , +.Xr truss 1 .Sh HISTORY The .Fn utrace |