diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-08-24 13:21:05 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-08-24 13:21:05 +0000 |
commit | 93070b866313c9d08ab63526856e47819889c964 (patch) | |
tree | f2716b7fd12035a32434943f108cd656e6438900 /sys/modules | |
parent | 2aa1a2c1567d3c4be865200e3a6f121cd445e598 (diff) | |
download | FreeBSD-src-93070b866313c9d08ab63526856e47819889c964.zip FreeBSD-src-93070b866313c9d08ab63526856e47819889c964.tar.gz |
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
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/dtrace/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/dtrace/dtraceall/dtraceall.c | 1 |
2 files changed, 2 insertions, 1 deletions
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 <bsd.subdir.mk> 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); |