Re: [DTrace-devel] [PATCH v2 11/20] doc: Fix anchor links for how-to/
Elena Zannoni <[email protected]>
| Newsgroups | dev.linux.lists.dtrace |
|---|---|
| Organization | Oracle USA Inc. |
| Message-ID | <[email protected]> |
Reviewed-by: Elena Zannoni <[email protected]> On 10/21/25 9:22 PM, eugene.loh--- via DTrace-devel wrote: > From: Eugene Loh <[email protected]> > > Signed-off-by: Eugene Loh <[email protected]> > --- > .../how-to/dtrace-howto-create-a-dtrace-script.md | 2 +- > .../how-to/dtrace-howto-install-dtrace.md | 15 ++++++++------- > .../how-to/dtrace-howto-list-and-enable-probes.md | 2 +- > .../how-to/dtrace-howto-use-predicates.md | 2 +- > 4 files changed, 11 insertions(+), 10 deletions(-) > > diff --git a/doc/userguide/how-to/dtrace-howto-create-a-dtrace-script.md b/doc/userguide/how-to/dtrace-howto-create-a-dtrace-script.md > index 199649a9f..949ade0bf 100644 > --- a/doc/userguide/how-to/dtrace-howto-create-a-dtrace-script.md > +++ b/doc/userguide/how-to/dtrace-howto-create-a-dtrace-script.md > @@ -1,5 +1,5 @@ > > -# Create a DTrace Script {#dt_create_script} > +# Create a DTrace Script <a id="dt_create_script"> > > Learn how to create a DTrace script to develop understanding of the D Programming language. > > diff --git a/doc/userguide/how-to/dtrace-howto-install-dtrace.md b/doc/userguide/how-to/dtrace-howto-install-dtrace.md > index 45da88fd8..3bc29e14e 100644 > --- a/doc/userguide/how-to/dtrace-howto-install-dtrace.md > +++ b/doc/userguide/how-to/dtrace-howto-install-dtrace.md > @@ -1,10 +1,11 @@ > -# Install DTrace{#install_dtrace} > + > +# Install DTrace <a id="install_dtrace"> > > The following instructions provide steps to install DTrace on different Linux distributions and to verify that the installation was successful. > > **Parent topic:**[Get Started With DTrace](../how-to/dtrace-guide.md) > > -## Build and Install DTrace on Gentoo Linux {#build_install_dtrace_gentoo_linux} > +## Build and Install DTrace on Gentoo Linux <a id="build_install_dtrace_gentoo_linux"> > > ``` > emerge dev-debug/dtrace > @@ -15,7 +16,7 @@ The following instructions provide steps to install DTrace on different Linux di > ## Install DTrace on Oracle Linux > > > -### Install DTrace on Oracle Linux 10 {#install_dtrace_oracle_linux_10} > +### Install DTrace on Oracle Linux 10 <a id="install_dtrace_oracle_linux_10"> > > 1. Enable the yum repository. > > @@ -38,7 +39,7 @@ The following instructions provide steps to install DTrace on different Linux di > ``` > > > -### Install DTrace on Oracle Linux 9 {#install_dtrace_oracle_linux_9} > +### Install DTrace on Oracle Linux 9 <a id="install_dtrace_oracle_linux_9"> > > 1. Enable the yum repository. > > @@ -61,7 +62,7 @@ The following instructions provide steps to install DTrace on different Linux di > ``` > > > -### Install DTrace on Oracle Linux 8 {#install_dtrace_oracle_linux_8} > +### Install DTrace on Oracle Linux 8 <a id="install_dtrace_oracle_linux_8"> > > 1. Enable the yum repository. > > @@ -86,7 +87,7 @@ The following instructions provide steps to install DTrace on different Linux di > ``` > > > -### Install DTrace on Oracle Linux 7 {#install_dtrace_oracle_linux_7} > +### Install DTrace on Oracle Linux 7 <a id="install_dtrace_oracle_linux_7"> > > **Warning:** > > @@ -111,7 +112,7 @@ Migrate applications and data to Oracle Linux 8, Oracle Linux 9, or Oracle Linux > ``` > > > -## Verify the DTrace Installation {#verify_install} > +## Verify the DTrace Installation <a id="verify_install"> > > Check that DTrace is installed to the correct location and verify the DTrace version. > > diff --git a/doc/userguide/how-to/dtrace-howto-list-and-enable-probes.md b/doc/userguide/how-to/dtrace-howto-list-and-enable-probes.md > index ad9c3a4d3..9325c6f1d 100644 > --- a/doc/userguide/how-to/dtrace-howto-list-and-enable-probes.md > +++ b/doc/userguide/how-to/dtrace-howto-list-and-enable-probes.md > @@ -1,5 +1,5 @@ > > -# List and Enable Probes {#list_enable_probes} > +# List and Enable Probes <a id="list_enable_probes"> > > DTrace providers publish available probes to DTrace so that you can enable them to perform functions when they fire. You can use the `dtrace` command to list all available probes or to enable a probe. > > diff --git a/doc/userguide/how-to/dtrace-howto-use-predicates.md b/doc/userguide/how-to/dtrace-howto-use-predicates.md > index c32f3050f..d00d31a01 100644 > --- a/doc/userguide/how-to/dtrace-howto-use-predicates.md > +++ b/doc/userguide/how-to/dtrace-howto-use-predicates.md > @@ -1,5 +1,5 @@ > > -# Use Predicates For Control Flow {#dt_preds_dlang} > +# Use Predicates For Control Flow <a id="dt_preds_dlang"> > > For runtime safety, one major difference between D and other programming languages such as C, C++, and the Java programming language is the absence of control-flow constructs such as `if`-statements and loops. D program clauses are written as single straight-line statement lists that trace an optional, fixed amount of data. D does provide the ability to conditionally trace data and change control flow using logical expressions called *predicates*. This tutorial shows how to use predicates to control D programs. >