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 /usr.bin/kdump/Makefile | |
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 'usr.bin/kdump/Makefile')
-rw-r--r-- | usr.bin/kdump/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile index 72e6305..6f196ac 100644 --- a/usr.bin/kdump/Makefile +++ b/usr.bin/kdump/Makefile @@ -6,7 +6,7 @@ .PATH: ${.CURDIR}/../ktrace PROG= kdump -SRCS= kdump_subr.c kdump.c ioctl.c subr.c +SRCS= kdump_subr.c kdump.c ioctl.c subr.c utrace.c DPSRCS= kdump_subr.h CFLAGS+= -I${.CURDIR}/../ktrace -I${.CURDIR} -I${.CURDIR}/../.. -I. |