Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Include scripts from the DTrace Toolkit if DTrace support is...
details: https://anonhg.NetBSD.org/src/rev/52ba1e9e94fd
branches: trunk
changeset: 356313:52ba1e9e94fd
user: sevan <sevan%NetBSD.org@localhost>
date: Sun Sep 17 00:00:39 2017 +0000
description:
Include scripts from the DTrace Toolkit if DTrace support is enabled.
The following scripts are installed:
dtruss - a DTrace version of truss.
execsnoop - snoop process execution as it occurs.
opensnoop - snoop file opens as they occur.
procsystime - print process system call time details.
ok riastradh
diffstat:
distrib/sets/lists/base/mi | 6 +++++-
external/cddl/Makefile | 6 +++++-
external/cddl/dtracetoolkit/Makefile | 5 +++++
external/cddl/dtracetoolkit/dist/Makefile | 16 ++++++++++++++++
4 files changed, 31 insertions(+), 2 deletions(-)
diffs (87 lines):
diff -r b0c6af93851b -r 52ba1e9e94fd distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Sat Sep 16 23:55:33 2017 +0000
+++ b/distrib/sets/lists/base/mi Sun Sep 17 00:00:39 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1160 2017/08/10 15:31:49 nat Exp $
+# $NetBSD: mi,v 1.1161 2017/09/17 00:00:39 sevan Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@@ -1649,6 +1649,7 @@
./usr/sbin/download-vulnerability-list base-pkgutil-bin
./usr/sbin/dtmfdecode base-isdn-bin
./usr/sbin/dtrace base-debug-bin dtrace
+./usr/sbin/dtruss base-debug-bin dtrace
./usr/sbin/dumpfs base-sysutil-bin
./usr/sbin/dumplfs base-sysutil-bin
./usr/sbin/eaytest base-obsolete obsolete
@@ -1658,6 +1659,7 @@
./usr/sbin/eshconfig base-sysutil-bin
./usr/sbin/etcupdate base-sysutil-bin
./usr/sbin/extattrctl base-sysutil-bin
+./usr/sbin/execsnoop base-debug-bin dtrace
./usr/sbin/faithd base-router-bin inet6
./usr/sbin/fixmount base-nfsclient-bin
./usr/sbin/flashctl base-sysutil-bin
@@ -1806,6 +1808,7 @@
./usr/sbin/ntptimeset base-obsolete obsolete
./usr/sbin/ntptrace base-ntp-bin
./usr/sbin/omshell base-dhcpd-bin
+./usr/sbin/opensnoop base-debug-bin dtrace
./usr/sbin/pac base-sysutil-bin
./usr/sbin/paxctl base-sysutil-bin
./usr/sbin/pcictl base-sysutil-bin
@@ -1841,6 +1844,7 @@
./usr/sbin/pppoectl base-obsolete obsolete
./usr/sbin/pppstats base-ppp-bin
./usr/sbin/praliases base-obsolete obsolete
+./usr/sbin/procsystime base-debug-bin dtrace
./usr/sbin/psrset base-sysutil-bin
./usr/sbin/pstat base-sysutil-bin
./usr/sbin/pvcsif base-netutil-bin
diff -r b0c6af93851b -r 52ba1e9e94fd external/cddl/Makefile
--- a/external/cddl/Makefile Sat Sep 16 23:55:33 2017 +0000
+++ b/external/cddl/Makefile Sun Sep 17 00:00:39 2017 +0000
@@ -1,8 +1,12 @@
-# $NetBSD: Makefile,v 1.3 2014/03/25 09:52:55 ozaki-r Exp $
+# $NetBSD: Makefile,v 1.4 2017/09/17 00:00:39 sevan Exp $
.include <bsd.own.mk>
# We need more modular flag e.g. we can add dtrace to osnet later
+.if (${MKDTRACE} != "no")
+SUBDIR+= dtracetoolkit
+.endif
+
.if ( ${MKZFS} != "no" || ${MKDTRACE} != "no" || ${MKCTF} != "no")
SUBDIR+= osnet
.endif
diff -r b0c6af93851b -r 52ba1e9e94fd external/cddl/dtracetoolkit/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/cddl/dtracetoolkit/Makefile Sun Sep 17 00:00:39 2017 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.1 2017/09/17 00:00:39 sevan Exp $
+
+SUBDIR= dist
+
+.include <bsd.subdir.mk>
diff -r b0c6af93851b -r 52ba1e9e94fd external/cddl/dtracetoolkit/dist/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/cddl/dtracetoolkit/dist/Makefile Sun Sep 17 00:00:39 2017 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/09/17 00:00:39 sevan Exp $
+
+.include <bsd.own.mk>
+
+.if (${MKDTRACE} != "no")
+FILES= dtruss
+FILES+= execsnoop
+FILES+= opensnoop
+FILES+= procsystime
+
+FILESDIR= /usr/sbin
+FILESMODE= 555
+.endif
+
+.include <bsd.files.mk>
+.include <bsd.subdir.mk>
Home |
Main Index |
Thread Index |
Old Index