head	1.14;
access;
symbols
	RELENG_8_4:1.10.0.2
	RELENG_9_1_0_RELEASE:1.5.2.1.4.2
	RELENG_9_1:1.5.2.1.0.4
	RELENG_9_1_BP:1.5.2.1
	RELENG_8_3_0_RELEASE:1.2.2.2.4.1
	RELENG_8_3:1.2.2.2.0.4
	RELENG_8_3_BP:1.2.2.2
	RELENG_9_0_0_RELEASE:1.5.2.1.2.1
	RELENG_9_0:1.5.2.1.0.2
	RELENG_9_0_BP:1.5.2.1
	RELENG_9:1.5.0.2
	RELENG_9_BP:1.5
	RELENG_7_4_0_RELEASE:1.1.2.1.8.1
	RELENG_8_2_0_RELEASE:1.2.2.2.2.1
	RELENG_7_4:1.1.2.1.0.8
	RELENG_7_4_BP:1.1.2.1
	RELENG_8_2:1.2.2.2.0.2
	RELENG_8_2_BP:1.2.2.2
	RELENG_8_1_0_RELEASE:1.2.2.1.4.1
	RELENG_8_1:1.2.2.1.0.4
	RELENG_8_1_BP:1.2.2.1
	RELENG_7_3_0_RELEASE:1.1.2.1.6.1
	RELENG_7_3:1.1.2.1.0.6
	RELENG_7_3_BP:1.1.2.1
	RELENG_8_0_0_RELEASE:1.2.2.1.2.1
	RELENG_8_0:1.2.2.1.0.2
	RELENG_8_0_BP:1.2.2.1
	RELENG_8:1.2.0.2
	RELENG_8_BP:1.2
	RELENG_7_2_0_RELEASE:1.1.2.1.4.1
	RELENG_7_2:1.1.2.1.0.4
	RELENG_7_2_BP:1.1.2.1
	RELENG_7_1_0_RELEASE:1.1.2.1.2.1
	RELENG_7_1:1.1.2.1.0.2
	RELENG_7_1_BP:1.1.2.1
	RELENG_7:1.1.0.2;
locks; strict;
comment	@# @;


1.14
date	2013.05.13.00.37.12;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2013.04.18.00.26.45;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2013.04.12.00.32.32;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2013.03.28.15.40.33;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2013.01.18.00.58.00;	author svnexp;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	2012.11.17.01.48.40;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.11.07.23.45.09;	author jhibbits;	state Exp;
branches;
next	1.7;

1.7
date	2012.07.11.16.27.02;	author gnn;	state Exp;
branches;
next	1.6;

1.6
date	2012.03.24.05.29.07;	author gonzo;	state Exp;
branches;
next	1.5;

1.5
date	2010.08.23.22.24.11;	author imp;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2010.08.21.11.50.53;	author rpaulo;	state Exp;
branches;
next	1.3;

1.3
date	2010.03.02.19.04.07;	author uqs;	state Exp;
branches;
next	1.2;

1.2
date	2009.07.19.17.25.24;	author kensmith;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2008.05.22.04.26.42;	author jb;	state Exp;
branches
	1.1.2.1;
next	;

1.10.2.1
date	2013.01.18.00.58.00;	author svnexp;	state dead;
branches;
next	1.10.2.2;

1.10.2.2
date	2013.03.28.13.00.15;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.5.2.1.2.1
	1.5.2.1.4.1;
next	1.5.2.2;

1.5.2.2
date	2012.11.17.11.36.04;	author svnexp;	state Exp;
branches;
next	1.5.2.3;

1.5.2.3
date	2012.12.07.19.09.14;	author svnexp;	state Exp;
branches;
next	1.5.2.4;

1.5.2.4
date	2013.03.15.23.51.18;	author svnexp;	state Exp;
branches;
next	1.5.2.5;

1.5.2.5
date	2013.04.24.21.01.44;	author svnexp;	state Exp;
branches;
next	1.5.2.6;

1.5.2.6
date	2013.10.02.19.02.33;	author svnexp;	state Exp;
branches;
next	1.5.2.7;

1.5.2.7
date	2014.05.03.17.01.42;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.5.2.1.2.2;

1.5.2.1.2.2
date	2012.11.17.08.36.06;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.5.2.1.4.2;

1.5.2.1.4.2
date	2012.11.17.08.46.54;	author svnexp;	state Exp;
branches;
next	;

1.2.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.2.2.1.2.1
	1.2.2.1.4.1;
next	1.2.2.2;

1.2.2.2
date	2010.11.08.12.54.55;	author rpaulo;	state Exp;
branches
	1.2.2.2.2.1
	1.2.2.2.4.1;
next	1.2.2.3;

1.2.2.3
date	2012.11.17.10.35.49;	author svnexp;	state Exp;
branches;
next	;

1.2.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.2.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.2.2.2.2.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.2.2.2.4.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.2.2.2.4.2;

1.2.2.2.4.2
date	2012.11.17.08.24.32;	author svnexp;	state Exp;
branches;
next	;

1.1.2.1
date	2008.08.27.04.41.15;	author jb;	state Exp;
branches
	1.1.2.1.2.1
	1.1.2.1.4.1
	1.1.2.1.6.1
	1.1.2.1.8.1;
next	1.1.2.2;

1.1.2.2
date	2012.11.17.08.00.53;	author svnexp;	state Exp;
branches;
next	;

1.1.2.1.2.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.1.2.1.4.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.1.2.1.6.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.1.2.1.8.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.1.2.1.8.2;

1.1.2.1.8.2
date	2012.11.17.08.16.32;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.14
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/250574
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/cddl/lib/libdtrace/Makefile 250574 2013-05-12 16:26:33Z markj $

.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/common
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libgen/common

LIB=		dtrace
SRCS=		dt_aggregate.c \
		dt_as.c \
		dt_buf.c \
		dt_cc.c \
		dt_cg.c \
		dt_consume.c \
		dt_decl.c \
		dt_dis.c \
		dt_dof.c \
		dt_error.c \
		dt_errtags.c \
		dt_grammar.y \
		dt_handle.c \
		dt_ident.c \
		dt_isadep.c \
		dt_inttab.c \
		dt_lex.l \
		dt_link.c \
		dt_list.c \
		dt_map.c \
		dt_module.c \
		dt_names.c \
		dt_open.c \
		dt_options.c \
		dt_parser.c \
		dt_pcb.c \
		dt_pid.c \
		dt_pq.c \
		dt_pragma.c \
		dt_print.c \
		dt_printf.c \
		dt_proc.c \
		dt_program.c \
		dt_provider.c \
		dt_regset.c \
		dt_string.c \
		dt_strtab.c \
		dt_subr.c \
		dt_work.c \
		dt_xlator.c \
		gmatch.c

DSRCS=		errno.d			\
		io.d			\
		psinfo.d		\
		signal.d		\
		unistd.d

WARNS?=		1

CFLAGS+=	-I${.OBJDIR} -I${.CURDIR} \
		-I${.CURDIR}/../../../sys/cddl/dev/dtrace/${MACHINE_ARCH} \
		-I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
		-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
		-I${OPENSOLARIS_USR_DISTDIR}/head \
		-I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \
		-I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \
		-I${OPENSOLARIS_SYS_DISTDIR}/uts/common

#CFLAGS+=	-DYYDEBUG

.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
CFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/intel -DDIS_MEM
.PATH:		${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/i386
.PATH:		${.CURDIR}/../../../sys/cddl/dev/dtrace/${MACHINE_ARCH}
.elif ${MACHINE_CPUARCH} == "sparc64"
CFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/sparc
.PATH:		${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/sparc
.elif ${MACHINE_CPUARCH} == "mips"
CFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/mips
.PATH:		${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/mips
.PATH:		${.CURDIR}/../../../sys/cddl/dev/dtrace/mips
.elif ${MACHINE_CPUARCH} == "powerpc"
CFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/powerpc
.PATH:		${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/powerpc
.PATH:		${.CURDIR}/../../../sys/cddl/dev/dtrace/powerpc
.else
# temporary hack
CFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/intel
.endif

.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
SRCS+=		dis_tables.c
DSRCS+=		regs_x86.d
.endif

LFLAGS+=-l

YFLAGS+=-d

CLEANFILES=	dt_errtags.c dt_names.c

dt_errtags.c:
	sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mkerrtags.sh < ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/dt_errtags.h > dt_errtags.c

dt_names.c:
	sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mknames.sh < ${OPENSOLARIS_SYS_DISTDIR}/uts/common/sys/dtrace.h > dt_names.c

beforedepend:	dt_errtags.c dt_names.c

beforeinstall:
.if !defined(LIBRARIES_ONLY) && exists(${DESTDIR}/usr/lib/dtrace)
.for file in ${DSRCS}
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} ${.CURDIR}/${file} ${DESTDIR}/usr/lib/dtrace
.endfor
.endif

.include <bsd.lib.mk>
@


1.13
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249573
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/cddl/lib/libdtrace/Makefile 249573 2013-04-17 02:20:17Z pfg $
d34 1
@


1.12
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249367
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/cddl/lib/libdtrace/Makefile 249367 2013-04-11 16:24:36Z pfg $
a33 1
		dt_pq.c \
@


1.11
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248708
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/cddl/lib/libdtrace/Makefile 248708 2013-03-25 20:38:09Z pfg $
d34 1
@


1.10
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245561
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/cddl/lib/libdtrace/Makefile 245561 2013-01-17 17:27:10Z brooks $
d35 1
@


1.10.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:00:15 +0000
@
text
@d1 112
@


1.10.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 107
# $FreeBSD: releng/8.4/cddl/lib/libdtrace/Makefile 214983 2010-11-08 12:54:55Z rpaulo $

.include	"../../Makefile.inc"

LIB=		dtrace
SHLIB_MAJOR=	2

WARNS=		1

SRCS=		dt_aggregate.c \
		dt_as.c \
		dt_buf.c \
		dt_cc.c \
		dt_cg.c \
		dt_consume.c \
		dt_decl.c \
		dt_dis.c \
		dt_dof.c \
		dt_error.c \
		dt_errtags.c \
		dt_grammar.y \
		dt_handle.c \
		dt_ident.c \
		dt_isadep.c \
		dt_inttab.c \
		dt_lex.l \
		dt_link.c \
		dt_list.c \
		dt_map.c \
		dt_module.c \
		dt_names.c \
		dt_open.c \
		dt_options.c \
		dt_parser.c \
		dt_pcb.c \
		dt_pid.c \
		dt_pragma.c \
		dt_printf.c \
		dt_proc.c \
		dt_program.c \
		dt_provider.c \
		dt_regset.c \
		dt_string.c \
		dt_strtab.c \
		dt_subr.c \
		dt_work.c \
		dt_xlator.c \
		gmatch.c \
		dis_tables.c

DSRCS=		errno.d			\
		psinfo.d		\
		signal.d		\
		unistd.d

.PATH:		${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common
.PATH:		${OPENSOLARIS_USR_DISTDIR}/lib/libgen/common

CFLAGS+=	-I${.OBJDIR} -I${.CURDIR} \
		-I${.CURDIR}/../../../sys/cddl/dev/dtrace/${MACHINE_ARCH} \
		-I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
		-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
		-I${OPENSOLARIS_USR_DISTDIR}/head \
		-I${OPENSOLARIS_USR_DISTDIR}/lib/libctf/common \
		-I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \
		-I${OPENSOLARIS_SYS_DISTDIR}/uts/common

#CFLAGS+=	-DYYDEBUG

.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
CFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/intel -DDIS_MEM
.PATH:		${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/i386
.PATH:		${.CURDIR}/../../../sys/cddl/dev/dtrace/${MACHINE_ARCH}
.elif ${MACHINE_ARCH} == "sparc64"
CFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/sparc
.PATH:		${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/sparc
.else
# temporary hack
CFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/intel
.endif

.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
DSRCS+=		regs_x86.d
.endif

LFLAGS+=-l

YFLAGS+=-d

CLEANFILES=	dt_errtags.c dt_names.c

dt_errtags.c:
	sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mkerrtags.sh < ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/dt_errtags.h > dt_errtags.c

dt_names.c:
	sh ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mknames.sh < ${OPENSOLARIS_SYS_DISTDIR}/uts/common/sys/dtrace.h > dt_names.c

beforedepend:	dt_errtags.c dt_names.c

beforeinstall:
.if exists(${DESTDIR}/usr/lib/dtrace)
.for file in ${DSRCS}
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} ${.CURDIR}/${file} ${DESTDIR}/usr/lib/dtrace
.endfor
.endif

.include <bsd.lib.mk>
@


1.9
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/cddl/lib/libdtrace/Makefile 242723 2012-11-07 23:45:09Z jhibbits $
d106 1
a106 1
.if exists(${DESTDIR}/usr/lib/dtrace)
@


1.8
log
@SVN rev 242723 on 2012-11-07 23:45:09Z by jhibbits

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
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.7
log
@SVN rev 238366 on 2012-07-11 16:27:02Z by gnn

Initial commit of an I/O provider for DTrace on FreeBSD.

These probes are most useful when looking into the structures
they provide, which are listed in io.d.  For example:

dtrace -n 'io:genunix::start { printf("%d\n", args[0]->bio_bcount); }'

Note that the I/O systems in FreeBSD and Solaris/Illumos are sufficiently
different that there is not a 1:1 mapping from scripts that work
with one to the other.
MFC after:	1 month
@
text
@d77 4
@


1.6
log
@SVN rev 233415 on 2012-03-24 05:29:07Z by gonzo

Enable build of DTrace-related userland parts for MIPS
@
text
@d48 1
@


1.5
log
@SVN rev 211725 on 2010-08-23 22:24:11Z by imp

MFtbemd:

Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
@
text
@d45 1
a45 2
		gmatch.c \
		dis_tables.c
d72 4
d82 1
@


1.5.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.5.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/cddl/lib/libdtrace/Makefile 211725 2010-08-23 22:24:11Z imp $
@


1.5.2.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/243989
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r243989 | gnn | 2012-12-07 19:06:40 +0000 (Fri, 07 Dec 2012) | 16 lines
## SVN ##
## SVN ## MFC: 238366, 240924
## SVN ##
## SVN ## Initial commit of an I/O provider for DTrace on FreeBSD.
## SVN ##
## SVN ##  These probes are most useful when looking into the structures
## SVN ##  they provide, which are listed in io.d.  For example:
## SVN ##
## SVN ##  dtrace -n 'io:kernel::start { printf("%d\n", args[0]->bio_bcount); }'
## SVN ##
## SVN ##  Note that the I/O systems in FreeBSD and Solaris/Illumos are sufficiently
## SVN ##  different that there is not a 1:1 mapping from scripts that work
## SVN ##  with one to the other.
## SVN ##
## SVN ## This commit includes the fix so that our probes use "kernel"
## SVN ## instead of the Solaris specific "genunix"
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/cddl/lib/libdtrace/Makefile 243989 2012-12-07 19:06:40Z gnn $
a48 1
		io.d			\
@


1.5.2.4
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248350
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/cddl/lib/libdtrace/Makefile 248350 2013-03-15 20:34:10Z brooks $
d98 1
a98 1
.if !defined(LIBRARIES_ONLY) && exists(${DESTDIR}/usr/lib/dtrace)
@


1.5.2.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249856
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/cddl/lib/libdtrace/Makefile 249856 2013-04-24 20:10:52Z pfg $
a34 1
		dt_print.c \
@


1.5.2.6
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/256002
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/cddl/lib/libdtrace/Makefile 256002 2013-10-02 18:51:48Z pfg $
a33 1
		dt_pq.c \
@


1.5.2.7
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/265274
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/cddl/lib/libdtrace/Makefile 265274 2014-05-03 16:09:08Z markj $
a69 1
CFLAGS+=	-I${.CURDIR}/../../../sys/cddl/dev/dtrace/x86
a72 1
.PATH:		${.CURDIR}/../../../sys/cddl/dev/dtrace/x86
@


1.5.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.5.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/cddl/lib/libdtrace/Makefile 211725 2010-08-23 22:24:11Z imp $
@


1.5.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.5.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/cddl/lib/libdtrace/Makefile 211725 2010-08-23 22:24:11Z imp $
@


1.4
log
@SVN rev 211554 on 2010-08-21 11:50:53Z by rpaulo

Add libdtrace support for tracing userland programs.

Summary of changes:
* Implement a compatibility shim between Solaris libproc and our
libproc and remove several ifdefs because of this.
* Port the drti to FreeBSD.
* Implement the missing DOODAD sections
* Link with libproc and librtld_db
* Support for ustack, jstack and uregs (by sson@@)
* Misc bugfixing

When writing the SUWN_dof section, we had to resort to building the ELF
file layout by "hand". This is the job of libelf, but our libelf doesn't
support this yet. When libelf is fixed, we can remove the code under
#ifdef BROKEN_LIBELF.

Sponsored by:	The FreeBSD Foundation
@
text
@d66 1
a66 1
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
d70 1
a70 1
.elif ${MACHINE_ARCH} == "sparc64"
@


1.3
log
@SVN rev 204597 on 2010-03-02 19:04:07Z by uqs

Remove manual .includes in cddl Makefiles

- Break the dependency on ../Makefile.inc for .PATH, and include
  ../Makefile.inc implicitly. This is required to ...
- Set WARNS?=6 in top-level Makefile.inc
- Remove now redundant WARNS settings, add WARNS?=0 where appropriate
- Remove redundant SHLIB_MAJOR overrides
- Use NO_MAN, not MK_MAN=no
- Remove redundant inclusion of bsd.own.mk
- Order Makefiles more according to style.Makefile(9)
- Reduce diff of cddl Makefiles against each other

No objection:	pjd
Approved by:	ed (co-mentor)
@
text
@d21 1
d45 2
a46 1
		gmatch.c
d55 2
a56 1
CFLAGS+=	-I${.OBJDIR} \
d67 3
a69 1
CFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/intel
d72 1
d78 4
@


1.2
log
@SVN rev 195767 on 2009-07-19 17:25:24Z by kensmith

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE.  Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by:    kib
Approved by:    re (rwatson)
@
text
@d3 2
a4 1
.include	"../../Makefile.inc"
a6 4
SHLIB_MAJOR=	2

WARNS=		1

d51 1
a51 2
.PATH:		${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common
.PATH:		${OPENSOLARIS_USR_DISTDIR}/lib/libgen/common
@


1.2.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.2.2.2
log
@SVN rev 214983 on 2010-11-08 12:54:55Z by rpaulo

MFC r210688 r210689 r210694 r211184 r212831 r210682 r210683 r210690 r209539
    r210199 r210237 r210692 r210695 r210767 r210775 r210776 r211545 r211554
    r211562 r212092 r212358 r212414 r212462 r212495 r210693 r211547 r211550
    r211554 r211561 r211577 r210691 r210697 r211563 r211564 r211841 r211842
    r211562 r212649 r211187 r211555:

Userland DTrace MFC. This only includes the userland side of userland DTrace.
@
text
@a23 1
		dt_isadep.c \
d47 1
a47 2
		gmatch.c \
		dis_tables.c
d57 1
a57 2
CFLAGS+=	-I${.OBJDIR} -I${.CURDIR} \
		-I${.CURDIR}/../../../sys/cddl/dev/dtrace/${MACHINE_ARCH} \
d68 1
a68 3
CFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/intel -DDIS_MEM
.PATH:		${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/i386
.PATH:		${.CURDIR}/../../../sys/cddl/dev/dtrace/${MACHINE_ARCH}
a70 1
.PATH:		${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libdtrace/sparc
a75 4
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
DSRCS+=		regs_x86.d
.endif

@


1.2.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/cddl/lib/libdtrace/Makefile 214983 2010-11-08 12:54:55Z rpaulo $
@


1.2.2.2.4.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.2.2.2.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/cddl/lib/libdtrace/Makefile 214983 2010-11-08 12:54:55Z rpaulo $
@


1.2.2.2.2.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.2.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.2.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.1
log
@Add the DTrace libraries and D library scripts.
@
text
@d6 1
a6 1
SHLIB_MAJOR=	1
@


1.1.2.1
log
@SVN rev 182231 on 2008-08-27 04:41:15Z by jb

MFC

DTrace support.

Note that this defaults the 'make buildkernel' to build with CTF data so
that the release kernel and modules are DTrace-able.
@
text
@@


1.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/cddl/lib/libdtrace/Makefile 182231 2008-08-27 04:41:15Z jb $
@


1.1.2.1.8.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.1.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/cddl/lib/libdtrace/Makefile 182231 2008-08-27 04:41:15Z jb $
@


1.1.2.1.6.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.1.2.1.4.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.1.2.1.2.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


