summaryrefslogtreecommitdiff
path: root/usr/src/cmd/dtrace
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/dtrace')
-rw-r--r--usr/src/cmd/dtrace/demo/spec/specopen.d2
-rw-r--r--usr/src/cmd/dtrace/dtrace.c10
-rw-r--r--usr/src/cmd/dtrace/test/cmd/jdtrace/JDTrace.java2
-rw-r--r--usr/src/cmd/dtrace/test/cmd/scripts/dtest.pl6
-rw-r--r--usr/src/cmd/dtrace/test/tst/common/cpc/err.cputrackfailtostart.ksh2
-rwxr-xr-xusr/src/cmd/dtrace/test/tst/common/ip/get.ipv4remote.pl2
-rwxr-xr-xusr/src/cmd/dtrace/test/tst/common/ip/get.ipv6remote.pl2
-rw-r--r--usr/src/cmd/dtrace/test/tst/common/pid/tst.killonerror.ksh2
-rw-r--r--usr/src/cmd/dtrace/test/tst/common/proc/tst.exitcore.ksh5
-rw-r--r--usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithBreakPoint.d4
-rw-r--r--usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithChill.d4
-rw-r--r--usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithCopyOut.d4
-rw-r--r--usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithCopyOutStr.d4
-rw-r--r--usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithPanic.d4
-rw-r--r--usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithRaise.d4
-rw-r--r--usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithStop.d4
-rw-r--r--usr/src/cmd/dtrace/test/tst/sparc/ustack/tst.trapstat.ksh3
17 files changed, 24 insertions, 40 deletions
diff --git a/usr/src/cmd/dtrace/demo/spec/specopen.d b/usr/src/cmd/dtrace/demo/spec/specopen.d
index f1975ff869..370153a05d 100644
--- a/usr/src/cmd/dtrace/demo/spec/specopen.d
+++ b/usr/src/cmd/dtrace/demo/spec/specopen.d
@@ -31,7 +31,7 @@ syscall::open64:entry
{
/*
* The call to speculation() creates a new speculation. If this fails,
- * dtrace(1M) will generate an error message indicating the reason for
+ * dtrace(8) will generate an error message indicating the reason for
* the failed speculation(), but subsequent speculative tracing will be
* silently discarded.
*/
diff --git a/usr/src/cmd/dtrace/dtrace.c b/usr/src/cmd/dtrace/dtrace.c
index f005629fc9..95c0ba89d6 100644
--- a/usr/src/cmd/dtrace/dtrace.c
+++ b/usr/src/cmd/dtrace/dtrace.c
@@ -102,7 +102,7 @@ static const char *g_etcend = "* ^^^^ Added by DTrace";
static const char *g_etc[] = {
"*",
-"* The following forceload directives were added by dtrace(1M) to allow for",
+"* The following forceload directives were added by dtrace(8) to allow for",
"* tracing during boot. If these directives are removed, the system will",
"* continue to function, but tracing will not occur during boot as desired.",
"* To remove these directives (and this block comment) automatically, run",
@@ -134,7 +134,7 @@ usage(FILE *fp)
"\t-32 generate 32-bit D programs and ELF files\n"
"\t-64 generate 64-bit D programs and ELF files\n\n"
"\t-a claim anonymous tracing state\n"
- "\t-A generate driver.conf(4) directives for anonymous tracing\n"
+ "\t-A generate driver.conf(5) directives for anonymous tracing\n"
"\t-b set trace buffer size\n"
"\t-c run specified command and exit upon its completion\n"
"\t-C run cpp(1) preprocessor on script files\n"
@@ -605,7 +605,7 @@ exec_prog(const dtrace_cmd_t *dcp)
/*
* Print out the specified DOF buffer as a set of ASCII bytes appropriate for
- * storing in a driver.conf(4) file associated with the dtrace driver.
+ * storing in a driver.conf(5) file associated with the dtrace driver.
*/
static void
anon_prog(const dtrace_cmd_t *dcp, dof_hdr_t *dof, int n)
@@ -1659,7 +1659,7 @@ main(int argc, char *argv[])
*/
error("saved anonymous enabling in %s\n", g_ofile);
etcsystem_add();
- error("run update_drv(1M) or reboot to enable changes\n");
+ error("run update_drv(8) or reboot to enable changes\n");
dtrace_close(g_dtp);
return (g_status);
@@ -1742,7 +1742,7 @@ main(int argc, char *argv[])
if ((g_ofp = fopen(g_ofile, "w")) == NULL)
fatal("failed to open header file '%s'", g_ofile);
- oprintf("/*\n * Generated by dtrace(1M).\n */\n\n");
+ oprintf("/*\n * Generated by dtrace(8).\n */\n\n");
if (dtrace_program_header(g_dtp, g_ofp, g_ofile) != 0 ||
fclose(g_ofp) == EOF)
diff --git a/usr/src/cmd/dtrace/test/cmd/jdtrace/JDTrace.java b/usr/src/cmd/dtrace/test/cmd/jdtrace/JDTrace.java
index f8c9ab7337..b39535afb5 100644
--- a/usr/src/cmd/dtrace/test/cmd/jdtrace/JDTrace.java
+++ b/usr/src/cmd/dtrace/test/cmd/jdtrace/JDTrace.java
@@ -30,7 +30,7 @@ import java.util.*;
import java.util.logging.*;
/**
- * Emulates {@code dtrace(1M)} using the Java DTrace API.
+ * Emulates {@code dtrace(8)} using the Java DTrace API.
*/
public class JDTrace {
static Logger logger = Logger.getLogger(JDTrace.class.getName());
diff --git a/usr/src/cmd/dtrace/test/cmd/scripts/dtest.pl b/usr/src/cmd/dtrace/test/cmd/scripts/dtest.pl
index e7f9189822..645a7eb543 100644
--- a/usr/src/cmd/dtrace/test/cmd/scripts/dtest.pl
+++ b/usr/src/cmd/dtrace/test/cmd/scripts/dtest.pl
@@ -100,10 +100,10 @@ sub usage
print "\t -i specify ISA to test instead of isaexec(3C) default\n";
print "\t -j execute test suite using jdtrace (Java API) only\n";
print "\t -l save log file of results and PIDs used by tests\n";
- print "\t -n execute test suite using dtrace(1m) only\n";
+ print "\t -n execute test suite using dtrace(8) only\n";
print "\t -q set quiet mode (only report errors and summary)\n";
print "\t -s save results files even for tests that pass\n";
- print "\t -x pass corresponding -x argument to dtrace(1M)\n";
+ print "\t -x pass corresponding -x argument to dtrace(8)\n";
exit(2);
}
@@ -397,7 +397,7 @@ sub run_tests {
}
#
- # DTrace is gone. Now update_drv(1M), and rip
+ # DTrace is gone. Now update_drv(8), and rip
# everything out again.
#
system("update_drv dtrace");
diff --git a/usr/src/cmd/dtrace/test/tst/common/cpc/err.cputrackfailtostart.ksh b/usr/src/cmd/dtrace/test/tst/common/cpc/err.cputrackfailtostart.ksh
index f62b83d571..2e78256216 100644
--- a/usr/src/cmd/dtrace/test/tst/common/cpc/err.cputrackfailtostart.ksh
+++ b/usr/src/cmd/dtrace/test/tst/common/cpc/err.cputrackfailtostart.ksh
@@ -25,7 +25,7 @@
# Use is subject to license terms.
#
-# This script ensures that cputrack(1M) will fail to start when the cpc
+# This script ensures that cputrack(8) will fail to start when the cpc
# provider has active enablings.
#
# The script will fail if:
diff --git a/usr/src/cmd/dtrace/test/tst/common/ip/get.ipv4remote.pl b/usr/src/cmd/dtrace/test/tst/common/ip/get.ipv4remote.pl
index d2dc8fdbee..439614a3a0 100755
--- a/usr/src/cmd/dtrace/test/tst/common/ip/get.ipv4remote.pl
+++ b/usr/src/cmd/dtrace/test/tst/common/ip/get.ipv4remote.pl
@@ -28,7 +28,7 @@
#
# get.ipv4remote.pl [tcpport]
#
-# Find an IPv4 reachable remote host using both ifconfig(1M) and ping(1M).
+# Find an IPv4 reachable remote host using both ifconfig(8) and ping(8).
# If a tcpport is specified, return a host that is also listening on this
# TCP port. Print the local address and the remote address, or an
# error message if no suitable remote host was found. Exit status is 0 if
diff --git a/usr/src/cmd/dtrace/test/tst/common/ip/get.ipv6remote.pl b/usr/src/cmd/dtrace/test/tst/common/ip/get.ipv6remote.pl
index 3b1999f62b..a8956cd158 100755
--- a/usr/src/cmd/dtrace/test/tst/common/ip/get.ipv6remote.pl
+++ b/usr/src/cmd/dtrace/test/tst/common/ip/get.ipv6remote.pl
@@ -28,7 +28,7 @@
#
# get.ipv6remote.pl
#
-# Find an IPv6 reachable remote host using both ifconfig(1M) and ping(1M).
+# Find an IPv6 reachable remote host using both ifconfig(8) and ping(8).
# Print the local address and the remote address, or print nothing if either
# no IPv6 interfaces or remote hosts were found. (Remote IPv6 testing is
# considered optional, and so not finding another IPv6 host is not an error
diff --git a/usr/src/cmd/dtrace/test/tst/common/pid/tst.killonerror.ksh b/usr/src/cmd/dtrace/test/tst/common/pid/tst.killonerror.ksh
index 587878c3fc..c8c389b3d2 100644
--- a/usr/src/cmd/dtrace/test/tst/common/pid/tst.killonerror.ksh
+++ b/usr/src/cmd/dtrace/test/tst/common/pid/tst.killonerror.ksh
@@ -33,7 +33,7 @@ fi
dtrace=$1
#
-# Make sure we kill a process if the dtrace(1M) command fails.
+# Make sure we kill a process if the dtrace(8) command fails.
#
rc=`$dtrace -c date -n jarod 2>/dev/null | /usr/bin/wc -l`
diff --git a/usr/src/cmd/dtrace/test/tst/common/proc/tst.exitcore.ksh b/usr/src/cmd/dtrace/test/tst/common/proc/tst.exitcore.ksh
index df3fdb3d6d..2567ba75ba 100644
--- a/usr/src/cmd/dtrace/test/tst/common/proc/tst.exitcore.ksh
+++ b/usr/src/cmd/dtrace/test/tst/common/proc/tst.exitcore.ksh
@@ -23,14 +23,13 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
#
# This script tests that the proc:::exit probe fires with the correct argument
# when the process core dumps. The problematic bit here is making sure that
# a process _can_ dump core -- if core dumps are disabled on both a global
# and per-process basis, this test will fail. Rather than having this test
-# muck with coreadm(1M) settings, it will fail explicitly in this case and
+# muck with coreadm(8) settings, it will fail explicitly in this case and
# provide a hint as to the problem. In general, machines should never be
# running with both per-process and global core dumps disabled -- so this
# should be a non-issue in practice.
@@ -52,7 +51,7 @@ script()
/curpsinfo->pr_ppid == $child &&
curpsinfo->pr_psargs == "$longsleep" && args[0] != CLD_DUMPED/
{
- printf("Child process could not dump core. Check coreadm(1M)");
+ printf("Child process could not dump core. Check coreadm(8)");
printf(" settings; either per-process or global core dumps ");
printf("must be enabled for this test to work properly.");
exit(1);
diff --git a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithBreakPoint.d b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithBreakPoint.d
index 958ce68612..7774f117c8 100644
--- a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithBreakPoint.d
+++ b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithBreakPoint.d
@@ -25,14 +25,12 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* ASSERTION:
* Destructive actions may never be speculative.
*
* SECTION: Speculative Tracing/Using a Speculation
- * SECTION: dtrace(1M) Utility/ -w option
+ * SECTION: dtrace(8) Utility/ -w option
*
*/
#pragma D option quiet
diff --git a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithChill.d b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithChill.d
index ebb3b01601..7d7d07671a 100644
--- a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithChill.d
+++ b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithChill.d
@@ -25,14 +25,12 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* ASSERTION:
* Destructive actions may never be speculative.
*
* SECTION: Speculative Tracing/Using a Speculation
- * SECTION: dtrace (1M) Utility/ -w option
+ * SECTION: dtrace(8) Utility/ -w option
*
*/
#pragma D option quiet
diff --git a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithCopyOut.d b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithCopyOut.d
index 9c14bb5a59..11420e40f5 100644
--- a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithCopyOut.d
+++ b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithCopyOut.d
@@ -25,14 +25,12 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* ASSERTION:
* Destructive actions may never be speculative.
*
* SECTION: Speculative Tracing/Using a Speculation
- * SECTION: dtrace(1M) Utility/ -w option
+ * SECTION: dtrace(8) Utility/ -w option
*
*/
#pragma D option quiet
diff --git a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithCopyOutStr.d b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithCopyOutStr.d
index 695eb8c8de..d14bf67dfa 100644
--- a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithCopyOutStr.d
+++ b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithCopyOutStr.d
@@ -25,14 +25,12 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* ASSERTION:
* Destructive actions may never be speculative.
*
* SECTION: Speculative Tracing/Using a Speculation
- * SECTION: dtrace(1M) Utility/ -w option
+ * SECTION: dtrace(8) Utility/ -w option
*/
#pragma D option quiet
diff --git a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithPanic.d b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithPanic.d
index dcba080194..b5d80910d4 100644
--- a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithPanic.d
+++ b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithPanic.d
@@ -25,14 +25,12 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* ASSERTION:
* Destructive actions may never be speculative.
*
* SECTION: Speculative Tracing/Using a Speculation
- * SECTION: dtrace(1M) Utility/ -w option
+ * SECTION: dtrace(8) Utility/ -w option
*
*/
#pragma D option quiet
diff --git a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithRaise.d b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithRaise.d
index e4fe06b6a3..a463b25702 100644
--- a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithRaise.d
+++ b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithRaise.d
@@ -25,14 +25,12 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* ASSERTION:
* Destructive actions may never be speculative.
*
* SECTION: Speculative Tracing/Using a Speculation
- * SECTION: dtrace(1M) Utility/ -w option
+ * SECTION: dtrace(8) Utility/ -w option
*/
#pragma D option quiet
diff --git a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithStop.d b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithStop.d
index 468e8f20e2..c02064c0d2 100644
--- a/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithStop.d
+++ b/usr/src/cmd/dtrace/test/tst/common/speculation/err.D_ACT_SPEC.SpeculateWithStop.d
@@ -25,14 +25,12 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* ASSERTION:
* Destructive actions may never be speculative.
*
* SECTION: Speculative Tracing/Using a Speculation
- * SECTION: dtrace(1M) Utility/ -w option
+ * SECTION: dtrace(8) Utility/ -w option
*/
#pragma D option quiet
diff --git a/usr/src/cmd/dtrace/test/tst/sparc/ustack/tst.trapstat.ksh b/usr/src/cmd/dtrace/test/tst/sparc/ustack/tst.trapstat.ksh
index 84af800676..2adbba1d45 100644
--- a/usr/src/cmd/dtrace/test/tst/sparc/ustack/tst.trapstat.ksh
+++ b/usr/src/cmd/dtrace/test/tst/sparc/ustack/tst.trapstat.ksh
@@ -24,11 +24,10 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
#
# This script verifies that user-land stacks can be walked safely
-# when the trapstat(1M) utility is running. An arbitrary program, w(1),
+# when the trapstat(8) utility is running. An arbitrary program, w(1),
# is started once a second to ensure stacks can be walked at all stages
# of the process lifecycle.
#