/[base]/stable/8/sys/modules/dtrace/dtraceall/Makefile
ViewVC logotype

Contents of /stable/8/sys/modules/dtrace/dtraceall/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 222557 - (show annotations) (download)
Wed Jun 1 06:07:57 2011 UTC (13 years, 1 month ago) by art
File size: 254 byte(s)
MFC r219561, r220437:
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:linux:xxx:yyy - linux compat system calls (linux32 on amd64)
syscall:freebsd32:xxx:yyy - freebsd32 compat system calls on amd64

PR:         kern/152822
Reviewed by:        jhb (earlier version)
Approved by:	avg (mentor)

1 # $FreeBSD$
2
3 KMOD= dtraceall
4 SRCS= dtraceall.c opt_compat.h
5
6 CFLAGS+= -I${.CURDIR}/../../..
7
8 .if !defined(KERNBUILDDIR)
9 opt_compat.h:
10 .if ${MACHINE_ARCH} == "amd64"
11 echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
12 .endif
13 .endif
14
15 .include <bsd.kmod.mk>

Properties

Name Value
svn:keywords FreeBSD=%H

  ViewVC Help
Powered by ViewVC 1.1.27