Re: [PATCH 1/6] Convert ip6_finish_output to rawfbt

Eugene Loh <[email protected]>
Newsgroups dev.linux.lists.dtrace
Message-ID <[email protected]>
Oops.  Ignore this.  It's already been reviewed and was accidentally 
sent out again.

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.
>
> Signed-off-by: Eugene Loh <[email protected]>
> Reviewed-by: Alan Maguire <[email protected]>
> ---
>   libdtrace/dt_prov_ip.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libdtrace/dt_prov_ip.c b/libdtrace/dt_prov_ip.c
> index e0919806..5384346b 100644
> --- a/libdtrace/dt_prov_ip.c
> +++ b/libdtrace/dt_prov_ip.c
> @@ -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, }
>   };
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.