git: dc8adef23944 - stable/14 - dtrace.1: Document DTRACE_DEBUG

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Sat, 15 Nov 2025 07:18:55 UTC
The branch stable/14 has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=dc8adef239445fe84acda2b0671f086e3dfb030b

commit dc8adef239445fe84acda2b0671f086e3dfb030b
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2025-11-06 22:41:44 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2025-11-15 07:18:51 +0000

    dtrace.1: Document DTRACE_DEBUG
    
    Reviewed by:    markj
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D53627
    
    (cherry picked from commit f811c0a555546e4154dfa159e8f56b3ba1c70d0d)
---
 cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1 b/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1
index c2443bc86491..68b3a7f5f9bc 100644
--- a/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1
+++ b/cddl/contrib/opensolaris/cmd/dtrace/dtrace.1
@@ -20,7 +20,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd November 3, 2025
+.Dd November 8, 2025
 .Dt DTRACE 1
 .Os
 .Sh NAME
@@ -1252,6 +1252,14 @@ command line to define a set of macro variables and so forth).
 The additional arguments can be used in D programs specified using the
 .Fl s
 option or on the command line.
+.Sh ENVIRONMENT
+.Bl -tag -width 'DTRACE_DEBUG'
+.It Ev DTRACE_DEBUG
+When defined,
+.Nm
+will output debug log messages to
+.Xr stderr 4 .
+.El
 .Sh FILES
 .Bl -tag -width /boot/dtrace.dof -compact
 .It Pa /boot/dtrace.dof