summaryrefslogtreecommitdiff
path: root/usr/src/lib/libdtrace/common
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2022-02-26 16:40:47 -0600
committerRichard Lowe <richlowe@richlowe.net>2022-03-10 01:14:35 -0600
commitbbf215553c7233fbab8a0afdf1fac74c44781867 (patch)
treee698415c5d1265b368c58c56199244dc2be86500 /usr/src/lib/libdtrace/common
parent236cb9a89d936b4b681853751c9af1adccc35ef9 (diff)
downloadillumos-gate-bbf215553c7233fbab8a0afdf1fac74c44781867.tar.gz
14443 resection manual pages per IPD4
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libdtrace/common')
-rw-r--r--usr/src/lib/libdtrace/common/dlink_audit.c2
-rw-r--r--usr/src/lib/libdtrace/common/dlink_common.c2
-rw-r--r--usr/src/lib/libdtrace/common/dlink_init.c2
-rw-r--r--usr/src/lib/libdtrace/common/dt_buf.c4
-rw-r--r--usr/src/lib/libdtrace/common/dt_dof.c2
-rw-r--r--usr/src/lib/libdtrace/common/dt_grammar.y2
-rw-r--r--usr/src/lib/libdtrace/common/dt_impl.h2
-rw-r--r--usr/src/lib/libdtrace/common/dt_open.c2
-rw-r--r--usr/src/lib/libdtrace/common/dt_parser.c4
-rw-r--r--usr/src/lib/libdtrace/common/dt_proc.c2
-rw-r--r--usr/src/lib/libdtrace/common/dt_provider.c8
-rw-r--r--usr/src/lib/libdtrace/common/dt_subr.c2
-rw-r--r--usr/src/lib/libdtrace/common/dtrace.h8
-rw-r--r--usr/src/lib/libdtrace/common/procfs.d.in8
14 files changed, 24 insertions, 26 deletions
diff --git a/usr/src/lib/libdtrace/common/dlink_audit.c b/usr/src/lib/libdtrace/common/dlink_audit.c
index 57ca8d7fb7..b196e97ac3 100644
--- a/usr/src/lib/libdtrace/common/dlink_audit.c
+++ b/usr/src/lib/libdtrace/common/dlink_audit.c
@@ -22,7 +22,7 @@
* of helper providers. The default disposition for a helper provider -- USDT
* and ustack helpers -- is to load itself from it's containing object's .init
* section. In cases where startup time is deemed critical, USDT authors can
- * use the -xlazyload option to dtrace(1M) to disable automatic loading (it's
+ * use the -xlazyload option to dtrace(8) to disable automatic loading (it's
* difficult to make the case for the utility of this feature for anything
* other than libc which, indeed, was the sole motivation). If a binary has
* been compiled with automatic loading disabled, this audit library may be
diff --git a/usr/src/lib/libdtrace/common/dlink_common.c b/usr/src/lib/libdtrace/common/dlink_common.c
index c47ec273ab..976abca82a 100644
--- a/usr/src/lib/libdtrace/common/dlink_common.c
+++ b/usr/src/lib/libdtrace/common/dlink_common.c
@@ -30,7 +30,7 @@
/*
* Common functions for helper provider loading both compiled into the
- * executable via drti.o and dtrace(1M) -G, and the libdaudit.so library.
+ * executable via drti.o and dtrace(8) -G, and the libdaudit.so library.
*/
#include <errno.h>
diff --git a/usr/src/lib/libdtrace/common/dlink_init.c b/usr/src/lib/libdtrace/common/dlink_init.c
index 7c00a49c21..b6bfd550cc 100644
--- a/usr/src/lib/libdtrace/common/dlink_init.c
+++ b/usr/src/lib/libdtrace/common/dlink_init.c
@@ -30,7 +30,7 @@
/*
* This is the basis for drti.o which dt_link.c links into the object file
- * generated by dtrace(1M) -G by default (note that -xlazyload disables this).
+ * generated by dtrace(8) -G by default (note that -xlazyload disables this).
*/
#include <dlfcn.h>
diff --git a/usr/src/lib/libdtrace/common/dt_buf.c b/usr/src/lib/libdtrace/common/dt_buf.c
index 324e778213..d34d359025 100644
--- a/usr/src/lib/libdtrace/common/dt_buf.c
+++ b/usr/src/lib/libdtrace/common/dt_buf.c
@@ -24,14 +24,12 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* DTrace Memory Buffer Routines
*
* The routines in this file are used to create an automatically resizing
* memory buffer that can be written to like a file. Memory buffers are
- * used to construct DOF to ioctl() to dtrace(7D), and provide semantics that
+ * used to construct DOF to ioctl() to dtrace(4D), and provide semantics that
* simplify caller code. Specifically, any allocation errors result in an
* error code being set inside the buffer which is maintained persistently and
* propagates to another buffer if the buffer in error is concatenated. These
diff --git a/usr/src/lib/libdtrace/common/dt_dof.c b/usr/src/lib/libdtrace/common/dt_dof.c
index c1f5dc827e..2c5173491d 100644
--- a/usr/src/lib/libdtrace/common/dt_dof.c
+++ b/usr/src/lib/libdtrace/common/dt_dof.c
@@ -496,7 +496,7 @@ dof_add_provider(dt_dof_t *ddo, const dt_provider_t *pvp)
if (pvp->pv_flags & DT_PROVIDER_IMPL) {
/*
- * ignore providers that are exported by dtrace(7D)
+ * ignore providers that are exported by dtrace(4D)
*/
return (0);
}
diff --git a/usr/src/lib/libdtrace/common/dt_grammar.y b/usr/src/lib/libdtrace/common/dt_grammar.y
index a7e7de7bc1..a61e8434c2 100644
--- a/usr/src/lib/libdtrace/common/dt_grammar.y
+++ b/usr/src/lib/libdtrace/common/dt_grammar.y
@@ -312,7 +312,7 @@ probe_definition:
* it. This can only occur if the next token is EOF or
* an ambiguous predicate was slurped up as a comment.
* We cannot perform this check if input() is a string
- * because dtrace(1M) [-fmnP] also use the compiler and
+ * because dtrace(8) [-fmnP] also use the compiler and
* things like dtrace -n BEGIN have to be accepted.
*/
if (yypcb->pcb_fileptr != NULL) {
diff --git a/usr/src/lib/libdtrace/common/dt_impl.h b/usr/src/lib/libdtrace/common/dt_impl.h
index 2681709483..6a854c5919 100644
--- a/usr/src/lib/libdtrace/common/dt_impl.h
+++ b/usr/src/lib/libdtrace/common/dt_impl.h
@@ -125,7 +125,7 @@ typedef struct dt_module {
uint_t dm_asrsv; /* actual reserved size of dm_asmap */
uint_t dm_aslen; /* number of entries in dm_asmap */
uint_t dm_flags; /* module flags (see below) */
- int dm_modid; /* modinfo(1M) module identifier */
+ int dm_modid; /* modinfo(8) module identifier */
GElf_Addr dm_text_va; /* virtual address of text section */
GElf_Xword dm_text_size; /* size in bytes of text section */
GElf_Addr dm_data_va; /* virtual address of data section */
diff --git a/usr/src/lib/libdtrace/common/dt_open.c b/usr/src/lib/libdtrace/common/dt_open.c
index 3e3bf9768a..973ea3cfa9 100644
--- a/usr/src/lib/libdtrace/common/dt_open.c
+++ b/usr/src/lib/libdtrace/common/dt_open.c
@@ -640,7 +640,7 @@ inline long NULL = 0; \n\
* Default DTrace configuration to use when opening libdtrace DTRACE_O_NODEV.
* If DTRACE_O_NODEV is not set, we load the configuration from the kernel.
* The use of CTF_MODEL_NATIVE is more subtle than it might appear: we are
- * relying on the fact that when running dtrace(1M), isaexec will invoke the
+ * relying on the fact that when running dtrace(8), isaexec will invoke the
* binary with the same bitness as the kernel, which is what we want by default
* when generating our DIF. The user can override the choice using oflags.
*/
diff --git a/usr/src/lib/libdtrace/common/dt_parser.c b/usr/src/lib/libdtrace/common/dt_parser.c
index e652f337d9..176d9b7d48 100644
--- a/usr/src/lib/libdtrace/common/dt_parser.c
+++ b/usr/src/lib/libdtrace/common/dt_parser.c
@@ -2584,7 +2584,7 @@ dt_node_provider(char *name, dt_node_t *probes)
/*
* Check to see if the provider is already defined or visible through
- * dtrace(7D). If so, set dn_provred to treat it as a re-declaration.
+ * dtrace(4D). If so, set dn_provred to treat it as a re-declaration.
* If not, create a new provider and set its interface-only flag. This
* flag may be cleared later by calls made to dt_probe_declare().
*/
@@ -4438,7 +4438,7 @@ dt_cook_provider(dt_node_t *dnp, uint_t idflags)
/*
* If we're declaring a provider for the first time and it is unknown
- * to dtrace(7D), insert the probe definitions into the provider's hash.
+ * to dtrace(4D), insert the probe definitions into the provider's hash.
* If we're redeclaring a known provider, verify the interface matches.
*/
for (pnp = dnp->dn_probes; pnp != NULL; pnp = pnp->dn_list) {
diff --git a/usr/src/lib/libdtrace/common/dt_proc.c b/usr/src/lib/libdtrace/common/dt_proc.c
index 03fe05f21f..80823aae60 100644
--- a/usr/src/lib/libdtrace/common/dt_proc.c
+++ b/usr/src/lib/libdtrace/common/dt_proc.c
@@ -34,7 +34,7 @@
* This file provides a set of routines that permit libdtrace and its clients
* to create and grab process handles using libproc, and to share these handles
* between library mechanisms that need libproc access, such as ustack(), and
- * client mechanisms that need libproc access, such as dtrace(1M) -c and -p.
+ * client mechanisms that need libproc access, such as dtrace(8) -c and -p.
* The library provides several mechanisms in the libproc control layer:
*
* Reference Counting: The library code and client code can independently grab
diff --git a/usr/src/lib/libdtrace/common/dt_provider.c b/usr/src/lib/libdtrace/common/dt_provider.c
index ef4b4470d5..aefa7590e9 100644
--- a/usr/src/lib/libdtrace/common/dt_provider.c
+++ b/usr/src/lib/libdtrace/common/dt_provider.c
@@ -226,7 +226,7 @@ dt_probe_key(const dtrace_probedesc_t *pdp, char *s)
}
/*
- * If a probe was discovered from the kernel, ask dtrace(7D) for a description
+ * If a probe was discovered from the kernel, ask dtrace(4D) for a description
* of each of its arguments, including native and translated types.
*/
static dt_probe_t *
@@ -365,7 +365,7 @@ dt_probe_discover(dt_provider_t *pvp, const dtrace_probedesc_t *pdp)
/*
* Lookup a probe declaration based on a known provider and full or partially
* specified module, function, and name. If the probe is not known to us yet,
- * ask dtrace(7D) to match the description and then cache any useful results.
+ * ask dtrace(4D) to match the description and then cache any useful results.
*/
dt_probe_t *
dt_probe_lookup(dt_provider_t *pvp, const char *s)
@@ -392,7 +392,7 @@ dt_probe_lookup(dt_provider_t *pvp, const char *s)
/*
* If the probe isn't known, use the probe description computed above
- * to ask dtrace(7D) to find the first matching probe.
+ * to ask dtrace(4D) to find the first matching probe.
*/
if (dt_ioctl(dtp, DTRACEIOC_PROBEMATCH, &pd) == 0)
return (dt_probe_discover(pvp, &pd));
@@ -769,7 +769,7 @@ dt_probe_info(dtrace_hdl_t *dtp,
}
/*
- * If we matched a probe exported by dtrace(7D), then discover
+ * If we matched a probe exported by dtrace(4D), then discover
* the real attributes. Otherwise grab the static declaration.
*/
if (pd.dtpd_id != DTRACE_IDNONE)
diff --git a/usr/src/lib/libdtrace/common/dt_subr.c b/usr/src/lib/libdtrace/common/dt_subr.c
index 25e206eb4c..e93617ef59 100644
--- a/usr/src/lib/libdtrace/common/dt_subr.c
+++ b/usr/src/lib/libdtrace/common/dt_subr.c
@@ -736,7 +736,7 @@ dt_difo_free(dtrace_hdl_t *dtp, dtrace_difo_t *dp)
}
/*
- * dt_gmatch() is similar to gmatch(3GEN) and dtrace(7D) globbing, but also
+ * dt_gmatch() is similar to gmatch(3GEN) and dtrace(4D) globbing, but also
* implements the behavior that an empty pattern matches any string.
*/
int
diff --git a/usr/src/lib/libdtrace/common/dtrace.h b/usr/src/lib/libdtrace/common/dtrace.h
index 293ab944af..7d86cdc7f2 100644
--- a/usr/src/lib/libdtrace/common/dtrace.h
+++ b/usr/src/lib/libdtrace/common/dtrace.h
@@ -48,7 +48,7 @@ extern "C" {
* Solaris system and DTrace subsystem and are subject to change at any time
* without notice. Applications and drivers using these interfaces will fail
* to run on future releases. These interfaces should not be used for any
- * purpose except those expressly outlined in dtrace(7D) and libdtrace(3LIB).
+ * purpose except those expressly outlined in dtrace(4D) and libdtrace(3LIB).
* Please refer to the "Solaris Dynamic Tracing Guide" for more information.
*/
@@ -61,7 +61,7 @@ typedef struct dtrace_prog dtrace_prog_t;
typedef struct dtrace_vector dtrace_vector_t;
typedef struct dtrace_aggdata dtrace_aggdata_t;
-#define DTRACE_O_NODEV 0x01 /* do not open dtrace(7D) device */
+#define DTRACE_O_NODEV 0x01 /* do not open dtrace(4D) device */
#define DTRACE_O_NOSYS 0x02 /* do not load /system/object modules */
#define DTRACE_O_LP64 0x04 /* force D compiler to be LP64 */
#define DTRACE_O_ILP32 0x08 /* force D compiler to be ILP32 */
@@ -529,7 +529,7 @@ extern struct dt_node *dt_compile_sugar(dtrace_hdl_t *,
*
* Library clients can use these functions to iterate over the set of available
* probe definitions and inquire as to their attributes. The probe iteration
- * interfaces report probes that are declared as well as those from dtrace(7D).
+ * interfaces report probes that are declared as well as those from dtrace(4D).
*/
typedef struct dtrace_probeinfo {
dtrace_attribute_t dtp_attr; /* name attributes */
@@ -549,7 +549,7 @@ extern int dtrace_probe_info(dtrace_hdl_t *,
/*
* DTrace Vector Interface
*
- * The DTrace library normally speaks directly to dtrace(7D). However,
+ * The DTrace library normally speaks directly to dtrace(4D). However,
* this communication may be vectored elsewhere. Consumers who wish to
* perform a vectored open must fill in the vector, and use the dtrace_vopen()
* entry point to obtain a library handle.
diff --git a/usr/src/lib/libdtrace/common/procfs.d.in b/usr/src/lib/libdtrace/common/procfs.d.in
index 9381e1ecf0..968435e76f 100644
--- a/usr/src/lib/libdtrace/common/procfs.d.in
+++ b/usr/src/lib/libdtrace/common/procfs.d.in
@@ -32,7 +32,7 @@
#pragma D depends_on module procfs
/*
- * The following miscellaneous constants are used by the proc(4) translators
+ * The following miscellaneous constants are used by the proc(5) translators
* defined below. These are assigned the latest values from the system .h's.
*/
inline char SSLEEP = @SSLEEP@;
@@ -207,7 +207,7 @@ inline int POLL_HUP = @POLL_HUP@;
#pragma D binding "1.0" POLL_HUP
/*
- * Translate from the kernel's proc_t structure to a proc(4) psinfo_t struct.
+ * Translate from the kernel's proc_t structure to a proc(5) psinfo_t struct.
* We do not provide support for pr_size, pr_rssize, pr_pctcpu, and pr_pctmem.
* We also do not fill in pr_lwp (the lwpsinfo_t for the representative LWP)
* because we do not have the ability to select and stop any representative.
@@ -252,7 +252,7 @@ translator psinfo_t < proc_t *T > {
};
/*
- * Translate from the kernel's kthread_t structure to a proc(4) psinfo_t
+ * Translate from the kernel's kthread_t structure to a proc(5) psinfo_t
* struct. Lacking a facility to define one translator only in terms of
* another, we explicitly define each member by using the proc_t-to-psinfo_t
* translator, above; any members added to that translator should also be
@@ -287,7 +287,7 @@ translator psinfo_t < kthread_t *T > {
};
/*
- * Translate from the kernel's kthread_t structure to a proc(4) lwpsinfo_t.
+ * Translate from the kernel's kthread_t structure to a proc(5) lwpsinfo_t.
* We do not provide support for pr_nice, pr_oldpri, pr_cpu, or pr_pctcpu.
* Also, for the moment, pr_start and pr_time are not supported, but these
* could be supported by DTrace in the future using subroutines.