head	1.6;
access;
symbols
	RELENG_8_4:1.6.0.2
	RELENG_8_3_0_RELEASE:1.5.4.1.8.1
	RELENG_8_3:1.5.4.1.0.8
	RELENG_8_3_BP:1.5.4.1
	RELENG_7_4_0_RELEASE:1.5.2.1.4.1
	RELENG_8_2_0_RELEASE:1.5.4.1.6.1
	RELENG_7_4:1.5.2.1.0.4
	RELENG_7_4_BP:1.5.2.1
	RELENG_8_2:1.5.4.1.0.6
	RELENG_8_2_BP:1.5.4.1
	RELENG_8_1_0_RELEASE:1.5.4.1.4.1
	RELENG_8_1:1.5.4.1.0.4
	RELENG_8_1_BP:1.5.4.1
	RELENG_7_3_0_RELEASE:1.5.2.1.2.1
	RELENG_7_3:1.5.2.1.0.2
	RELENG_7_3_BP:1.5.2.1
	RELENG_8_0_0_RELEASE:1.5.4.1.2.1
	RELENG_8_0:1.5.4.1.0.2
	RELENG_8_0_BP:1.5.4.1
	RELENG_8:1.5.0.4
	RELENG_8_BP:1.5
	RELENG_7:1.5.0.2;
locks; strict;
comment	@# @;


1.6
date	2011.05.12.10.11.39;	author stas;	state dead;
branches
	1.6.2.1;
next	1.5;

1.5
date	2008.11.05.19.39.37;	author rodrigc;	state Exp;
branches
	1.5.2.1
	1.5.4.1;
next	1.4;

1.4
date	2008.03.27.23.21.25;	author jb;	state Exp;
branches;
next	1.3;

1.3
date	2008.01.24.07.24.30;	author ru;	state Exp;
branches;
next	1.2;

1.2
date	2007.11.28.22.58.09;	author jb;	state Exp;
branches;
next	1.1;

1.1
date	2007.11.05.23.15.03;	author lulf;	state Exp;
branches;
next	;

1.6.2.1
date	2011.05.12.10.11.39;	author svnexp;	state dead;
branches;
next	1.6.2.2;

1.6.2.2
date	2013.03.28.13.06.03;	author svnexp;	state Exp;
branches;
next	;

1.5.2.1
date	2009.06.09.21.17.57;	author kmacy;	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.08.08.26;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.5.4.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.5.4.1.2.1
	1.5.4.1.4.1
	1.5.4.1.6.1
	1.5.4.1.8.1;
next	1.5.4.2;

1.5.4.2
date	2012.11.17.10.37.16;	author svnexp;	state Exp;
branches;
next	1.5.4.3;

1.5.4.3
date	2014.03.20.01.23.17;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.5.4.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.5.4.1.8.2;

1.5.4.1.8.2
date	2012.11.17.08.25.50;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.6
log
@SVN rev 221807 on 2011-05-12 10:11:39Z by stas

- Commit work from libprocstat project.  These patches add support for runtime
  file and processes information retrieval from the running kernel via sysctl
  in the form of new library, libprocstat.  The library also supports KVM backend
  for analyzing memory crash dumps.  Both procstat(1) and fstat(1) utilities have
  been modified to take advantage of the library (as the bonus point the fstat(1)
  utility no longer need superuser privileges to operate), and the procstat(1)
  utility is now able to display information from memory dumps as well.

  The newly introduced fuser(1) utility also uses this library and able to operate
  via sysctl and kvm backends.

  The library is by no means complete (e.g. KVM backend is missing vnode name
  resolution routines, and there're no manpages for the library itself) so I
  plan to improve it further.  I'm commiting it so it will get wider exposure
  and review.

  We won't be able to MFC this work as it relies on changes in HEAD, which
  was introduced some time ago, that break kernel ABI.  OTOH we may be able
  to merge the library with KVM backend if we really need it there.

Discussed with:	rwatson
@
text
@# $FreeBSD: src/usr.bin/fstat/zfs/Makefile,v 1.5 2008/11/05 19:39:37 rodrigc Exp $

.PATH: ${.CURDIR}/..

SRCS=	zfs.c
OBJS=	zfs.o
WARNS?=	1

CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head
CFLAGS+= -I${.CURDIR}/..
CFLAGS+= -DNEED_SOLARIS_BOOLEAN

all: ${OBJS}
CLEANFILES= ${OBJS}

.include <bsd.lib.mk>
@


1.6.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:06:03 +0000
@
text
@d1 23
@


1.6.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 23
# $FreeBSD: releng/8.4/usr.bin/fstat/zfs/Makefile 184699 2008-11-05 19:39:37Z rodrigc $

.PATH: ${.CURDIR}/..

SRCS=	zfs.c
OBJS=	zfs.o
WARNS?=	1

CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head
CFLAGS+= -I${.CURDIR}/..
CFLAGS+= -DNEED_SOLARIS_BOOLEAN

all: ${OBJS}
CLEANFILES= ${OBJS}

.include <bsd.lib.mk>
@


1.5
log
@SVN rev 184699 on 2008-11-05 19:39:37Z by rodrigc

Merge latest DTrace changes from Perforce.

Approved by:	jb
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.5.4.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.5.4.2
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/usr.bin/fstat/zfs/Makefile 184699 2008-11-05 19:39:37Z rodrigc $
@


1.5.4.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/263411
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/usr.bin/fstat/zfs/Makefile 263411 2014-03-20 00:46:25Z delphij $
a9 1
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
@


1.5.4.1.8.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.5.4.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/usr.bin/fstat/zfs/Makefile 184699 2008-11-05 19:39:37Z rodrigc $
@


1.5.4.1.6.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.5.4.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.5.4.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.5.2.1
log
@SVN rev 193858 on 2009-06-09 21:17:57Z by kmacy

MFC fstat support bits for ZFS

Submitted by:	Alexander Nedotsukov
@
text
@@


1.5.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/usr.bin/fstat/zfs/Makefile 193858 2009-06-09 21:17:57Z kmacy $
@


1.5.2.1.4.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.5.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/usr.bin/fstat/zfs/Makefile 193858 2009-06-09 21:17:57Z kmacy $
@


1.5.2.1.2.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.4
log
@The sources covered by Sun's CDDL have been repo copied below the
src/cddl and src/sys/cddl directories per the core@@ decision following
the license review.

This change modifies the affected Makefiles to reference the sources
in their new location.
@
text
@d18 1
@


1.3
log
@Style.
@
text
@d9 8
a16 8
CFLAGS+= -I${.CURDIR}/../../../sys/compat/opensolaris
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/include
CFLAGS+= -I${.CURDIR}/../../../compat/opensolaris/lib/libumem
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/lib/libzpool/common
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/fs/zfs
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common
CFLAGS+= -I${.CURDIR}/../../../sys/contrib/opensolaris/uts/common/sys
CFLAGS+= -I${.CURDIR}/../../../contrib/opensolaris/head
@


1.2
log
@Remove _SOLARIS_C_SOURCE now that it doesn't do anything in FreeBSD
headers. All OpenSolaris compatibility comes via the set of specific
compatibility headers in src/compat/opensolaris and
src/sys/compat/opensolaris.
@
text
@a16 1
CFLAGS+= -I${.CURDIR}/../../../sys
d20 2
a21 1
CLEANFILES=	${OBJS}
@


1.1
log
@- Add ZFS-support to fstat(1). This allows ZFS-filsystems to be including in
  the open file-listing. It is added as a separate source file, so it can
  respect WITH_/WITHOUT_CDDL as compile-flags.
- The warnlevel of the Makefile was decreased to quell solaris #pragma
  warnings.
- Expect that fstat(1) doesn't work with kernel compiled with
  DEBUG_VFS_LOCKS/DEBUG_LOCKS for now.

Approved by:	pjd (mentor)
@
text
@a8 1
CFLAGS=-D_SOLARIS_C_SOURCE
@

