Skip to contentSkip to conversation

Convert ip6_finish_output to rawfbt

PATCH In review [email protected] 2 participants 4 messages Sep 5, 2025 – Sep 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 Convert ip6_finish_output to rawfbt

From: Eugene Loh <[email protected]>

With commit fe2101e55 ("fbt: implement based on fentry/fexit probes") test/unittest/ip/tst.ipv6localicmp.sh started to fail. The problem appears to be that fbt::ip6_finish_output:entry, which is needed for ip:::send, does not fire.

Use rawfbt for this probe to revert back to kprobes in this case.

Other fbt probes may also be impacted, but this case showed up in testing.

---
 libdtrace/dt_prov_ip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libdtrace/dt_prov_ip.c +1 -1
index e0919806..5384346b 100644
@@ -25,7 +25,7 @@ static probe_dep_t	probes[] = {
 	{ "send",
 	  DTRACE_PROBESPEC_NAME,	"fbt::ip_finish_output:entry" },
 	{ "send",
-	  DTRACE_PROBESPEC_NAME,	"fbt::ip6_finish_output:entry" },
+	  DTRACE_PROBESPEC_NAME,	"rawfbt::ip6_finish_output:entry" },
 	{ NULL, }
 };
 
Signature · 1 line
2.47.3
#1 lore raw

PATCH 1/1 test: Update DTrace version string

From: Eugene Loh <[email protected]>

Commit a48a76472 ("version: fix DTrace version string") changed the DTrace version string without addressing associated testing.

Update the test suite to match the version string change.

---
 test/unittest/dtrace-util/tst.APIVersion.r | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
test/unittest/dtrace-util/tst.APIVersion.r +1 -1
index 0d88b694e..72d03e71c 100644
@@ -1 +1 @@
-dtrace: Oracle D x.y.z
+dtrace: D x.y.z
Signature · 1 line
2.47.3
Reviewed-by on v1 1/1
#2 lore raw

Re: [DTrace-devel] [PATCH] test: Update DTrace version string

Quoted 27 lines · eugene.loh--- via DTrace-devel

From: Eugene Loh <[email protected]>

Commit a48a76472 ("version: fix DTrace version string") changed the DTrace version string without addressing associated testing.

Update the test suite to match the version string change.

---
 test/unittest/dtrace-util/tst.APIVersion.r | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
test/unittest/dtrace-util/tst.APIVersion.r +1 -1
index 0d88b694e..72d03e71c 100644
@@ -1 +1 @@
-dtrace: Oracle D x.y.z
+dtrace: D x.y.z
Signature · 7 lines
2.47.3


_______________________________________________
DTrace-devel mailing list
[email protected]
https://oss.oracle.com/mailman/listinfo/dtrace-devel
author
#3 lore raw
In reply to [email protected]

Oops.  Ignore this.  It's already been reviewed and was accidentally sent out again.

Quoted 30 lines · On 9/5/25 13:07, [email protected] wrote:

From: Eugene Loh <[email protected]>

With commit fe2101e55 ("fbt: implement based on fentry/fexit probes") test/unittest/ip/tst.ipv6localicmp.sh started to fail. The problem appears to be that fbt::ip6_finish_output:entry, which is needed for ip:::send, does not fire.

Use rawfbt for this probe to revert back to kprobes in this case.

Other fbt probes may also be impacted, but this case showed up in testing.

---
  libdtrace/dt_prov_ip.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
libdtrace/dt_prov_ip.c +1 -1
index e0919806..5384346b 100644
@@ -25,7 +25,7 @@ static probe_dep_t	probes[] = {
  	{ "send",
  	  DTRACE_PROBESPEC_NAME,	"fbt::ip_finish_output:entry" },
  	{ "send",
-	  DTRACE_PROBESPEC_NAME,	"fbt::ip6_finish_output:entry" },
+	  DTRACE_PROBESPEC_NAME,	"rawfbt::ip6_finish_output:entry" },
  	{ NULL, }
  };