diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2013-03-18 05:30:18 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2013-03-18 05:30:18 +0000 |
commit | 7b62f31cdf0ac5e5b9e97e38a21caf00e4897a45 (patch) | |
tree | ed98c02f053007502714151382d6652f85f4b682 /sys/modules/dtrace/fbt | |
parent | c1c3be94b5168f8fb3d5164cef52767192eb6505 (diff) | |
download | FreeBSD-src-7b62f31cdf0ac5e5b9e97e38a21caf00e4897a45.zip FreeBSD-src-7b62f31cdf0ac5e5b9e97e38a21caf00e4897a45.tar.gz |
Add FBT for PowerPC DTrace. Also, clean up the DTrace assembly code,
much of which is not necessary for PowerPC.
The FBT module can likely be factored into 3 separate files: common,
intel, and powerpc, rather than duplicating most of the code between
the x86 and PowerPC flavors.
All DTrace modules for PowerPC will be MFC'd together once Fasttrap is
completed.
Diffstat (limited to 'sys/modules/dtrace/fbt')
-rw-r--r-- | sys/modules/dtrace/fbt/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/dtrace/fbt/Makefile b/sys/modules/dtrace/fbt/Makefile index 9b69b22..acc10eb 100644 --- a/sys/modules/dtrace/fbt/Makefile +++ b/sys/modules/dtrace/fbt/Makefile @@ -3,7 +3,11 @@ .PATH: ${.CURDIR}/../../../cddl/dev/fbt KMOD= fbt +.if ${MACHINE_ARCH} == "powerpc" +SRCS= fbt_powerpc.c +.else SRCS= fbt.c +.endif SRCS+= vnode_if.h CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris \ |