From 93070b866313c9d08ab63526856e47819889c964 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Tue, 24 Aug 2010 13:21:05 +0000 Subject: Enable fasttrap and make dtraceall depend on fasttrap when building i386 or amd64. Sponsored by: The FreeBSD Foundation > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M dtrace/dtraceall/dtraceall.c M dtrace/Makefile --- sys/modules/dtrace/Makefile | 2 +- sys/modules/dtrace/dtraceall/dtraceall.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/modules/dtrace/Makefile b/sys/modules/dtrace/Makefile index 75d4a44..02c4766 100644 --- a/sys/modules/dtrace/Makefile +++ b/sys/modules/dtrace/Makefile @@ -15,7 +15,7 @@ SUBDIR= dtmalloc \ systrace .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" -SUBDIR+= fbt +SUBDIR+= fasttrap fbt .endif .include diff --git a/sys/modules/dtrace/dtraceall/dtraceall.c b/sys/modules/dtrace/dtraceall/dtraceall.c index d8d330f..ecb5e34 100644 --- a/sys/modules/dtrace/dtraceall/dtraceall.c +++ b/sys/modules/dtrace/dtraceall/dtraceall.c @@ -68,6 +68,7 @@ MODULE_DEPEND(dtraceall, dtmalloc, 1, 1, 1); MODULE_DEPEND(dtraceall, dtnfsclient, 1, 1, 1); #if defined(__amd64__) || defined(__i386__) MODULE_DEPEND(dtraceall, fbt, 1, 1, 1); +MODULE_DEPEND(dtraceall, fasttrap, 1, 1, 1); #endif MODULE_DEPEND(dtraceall, lockstat, 1, 1, 1); MODULE_DEPEND(dtraceall, sdt, 1, 1, 1); -- cgit v1.1