[DTrace-devel] [PATCH 2/4] Fix comment in SDT provider about the probes we skip
eugene.loh at oracle.com
eugene.loh at oracle.com
Mon Jun 1 10:41:19 PDT 2020
From: Eugene Loh <eugene.loh at oracle.com>
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
libdtrace/dt_prov_sdt.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/libdtrace/dt_prov_sdt.c b/libdtrace/dt_prov_sdt.c
index bc9642f8..2db38c7d 100644
--- a/libdtrace/dt_prov_sdt.c
+++ b/libdtrace/dt_prov_sdt.c
@@ -224,10 +224,11 @@ done:
}
/*
- * The PROBE_LIST file lists all tracepoints in a <group>:<name> format. When
- * kprobes are registered on the system, they will appear in this list also as
- * kprobes:<name>. We need to ignore them because DTrace already accounts for
- * them as FBT probes.
+ * The PROBE_LIST file lists all tracepoints in a <group>:<name> format.
+ * We need to ignore these groups:
+ * - GROUP_FMT (created by DTrace processes)
+ * - kprobes and uprobes
+ * - syscalls (handled by a different provider)
*/
static int populate(dtrace_hdl_t *dtp)
{
--
2.18.2
More information about the DTrace-devel
mailing list