diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2012-11-07 23:45:09 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2012-11-07 23:45:09 +0000 |
commit | c757049235edc6ecca32c6c584f7d5582aaeb74a (patch) | |
tree | 8d8c4ccbc7450fce2f9dc5ef56aa8edccb25145d /sys/modules | |
parent | 44f17a81114497933ebb235f4c7c86a6d1b0a5db (diff) | |
download | src-c757049235edc6ecca32c6c584f7d5582aaeb74a.tar.gz src-c757049235edc6ecca32c6c584f7d5582aaeb74a.zip |
Implement DTrace for PowerPC. This includes both 32-bit and 64-bit.
There is one known issue: Some probes will display an error message along the
lines of: "Invalid address (0)"
I tested this with both a simple dtrace probe and dtruss on a few different
binaries on 32-bit. I only compiled 64-bit, did not run it, but I don't expect
problems without the modules loaded. Volunteers are welcome.
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=242723
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 5 | ||||
-rw-r--r-- | sys/modules/dtrace/Makefile | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index ddf4fb9d8395..fef1b30ea6d2 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -788,10 +788,15 @@ _exca= exca _nvram= powermac_nvram _pccard= pccard _sound= sound +_cyclic= cyclic +_dtrace= dtrace +_opensolaris= opensolaris .endif .if ${MACHINE_ARCH} == "powerpc64" .if ${MK_CDDL} != "no" || defined(ALL_MODULES) +_cyclic= cyclic +_dtrace= dtrace _opensolaris= opensolaris .endif .if ${MK_ZFS} != "no" || defined(ALL_MODULES) diff --git a/sys/modules/dtrace/Makefile b/sys/modules/dtrace/Makefile index 02423e93f342..6d18143e78ce 100644 --- a/sys/modules/dtrace/Makefile +++ b/sys/modules/dtrace/Makefile @@ -10,12 +10,14 @@ SUBDIR= dtmalloc \ dtraceall \ dtrace_test \ dtio \ + lockstat \ + profile \ prototype \ sdt \ systrace .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" -SUBDIR+= fasttrap fbt lockstat profile systrace_linux32 +SUBDIR+= fasttrap fbt systrace_linux32 .endif .if ${MACHINE_CPUARCH} == "amd64" SUBDIR+= systrace_freebsd32 |