Skip to contentSkip to conversation

doc: Update the sdt provider documentation

PATCH Superseded [email protected] 1 participant 1 message Dec 8, 2025

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 doc: Update the sdt provider documentation

From: Eugene Loh <[email protected]>

The documentation had been describing the legacy provider, in which sdt probes were DTrace-specific instrumentation points in the kernel to support other providers. In the current implementation, the sdt provider simply exposes Linux kernel tracepoints.

---
 doc/userguide/index.md                        |  3 --
 .../reference/dtrace_providers_rawtp.md       |  8 ++-
 .../reference/dtrace_providers_sdt.md         | 52 ++++++++-----------
 3 files changed, 28 insertions(+), 35 deletions(-)
doc/userguide/index.md +0 -3
index 3e057d4de..7d6b1caec 100644
@@ -255,9 +255,6 @@
         -   [sched Examples](reference/dtrace_providers_sched.md#dt_ref_schedexamples_prov)
         -   [sched Stability](reference/dtrace_providers_sched.md#dt_ref_schedstab_prov)
     -   [SDT Provider](reference/dtrace_providers_sdt.md#dt_ref_sdt_prov)
-        -   [Creating sdt Probes](reference/dtrace_providers_sdt.md#dt_ref_sdtcreatep_prov)
-            -   [Declaring Probes](reference/dtrace_providers_sdt.md#dt_ref_sdtdeclp_prov)
-            -   [sdt Probe Arguments](reference/dtrace_providers_sdt.md#dt_ref_sdtparg_prov)
         -   [sdt Stability](reference/dtrace_providers_sdt.md#dt_ref_sdtstab_prov)
     -   [Stapsdt Provider](reference/dtrace_providers_stapsdt.md)
         -   [stapsdt Probes](reference/dtrace_providers_stapsdt.md#dt_ref_stapsdtprobes_prov)
doc/userguide/reference/dtrace_providers_rawtp.md +7 -1
index 67cb0bedc..aa98f9c43 100644
@@ -1,7 +1,13 @@
 
 # Rawtp Provider <a id="dt_ref_rawtp_prov">
 
-The `rawtp` provider gives DTrace users access to the raw tracepoints exposed by the kernel tracing system, including access to the untranslated arguments of the associated tracepoint events.
+The `rawtp` provider gives DTrace users access to the tracepoints exposed by the kernel tracing system.
+
+In contrast with the [sdt](../reference/dtrace_providers_sdt.md) provider,
+however, the `rawtp` provider delivers the raw arguments that the kernel
+provides to the tracepoint.
+For more information on kernel tracepoints, see
+<https://github.com/torvalds/linux/blob/master/Documentation/trace/tracepoints.rst>.
 
 To see what raw tracepoints are available on a system, use:
 
doc/userguide/reference/dtrace_providers_sdt.md +21 -31

67 lines not on this page · raw message

Signature · 1 line
2.47.3