summaryrefslogtreecommitdiffstats
path: root/sys/modules/dtrace/Makefile
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2011-03-12 09:09:25 +0000
committeravg <avg@FreeBSD.org>2011-03-12 09:09:25 +0000
commit8b9accae99ebde19a9f203d97a1f1fc163d951e7 (patch)
treedfa6cf016708547b64ab489552220bdbc0726cc4 /sys/modules/dtrace/Makefile
parent5a2a285ac9dc6c9ae60c40f90dc1f1c42dd3556d (diff)
downloadFreeBSD-src-8b9accae99ebde19a9f203d97a1f1fc163d951e7.zip
FreeBSD-src-8b9accae99ebde19a9f203d97a1f1fc163d951e7.tar.gz
add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls
Add systrace_linux32 and systrace_freebsd32 modules which provide support for tracing compat system calls in addition to native system call tracing provided by systrace module. Provided that all the systrace modules are loaded now you can select what syscalls to trace in the following manner: syscall::xxx:yyy - work on all system calls that match the specification syscall:freebsd:xxx:yyy - only native system calls syscall:linux32:xxx:yyy - linux32 compat system calls syscall:freebsd32:xxx:yyy - freebsd32 compat system calls on amd64 PR: kern/152822 Submitted by: Artem Belevich <fbsdlist@src.cx> Reviewed by: jhb (earlier version) MFC after: 3 weeks
Diffstat (limited to 'sys/modules/dtrace/Makefile')
-rw-r--r--sys/modules/dtrace/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/modules/dtrace/Makefile b/sys/modules/dtrace/Makefile
index 02c4766..09fe55e 100644
--- a/sys/modules/dtrace/Makefile
+++ b/sys/modules/dtrace/Makefile
@@ -15,7 +15,10 @@ SUBDIR= dtmalloc \
systrace
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
-SUBDIR+= fasttrap fbt
+SUBDIR+= fasttrap fbt systrace_linux32
+.endif
+.if ${MACHINE_CPUARCH} == "amd64"
+SUBDIR+= systrace_freebsd32
.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud