[DTrace-devel] [PATCH v3 19/21] uprobe: the pid provider does not provide usdt probes
Kris Van Hees
kris.van.hees at oracle.com
Fri Feb 16 01:02:54 UTC 2024
Move this into "dtprobed, usdt: move usdt probe creation/deletion to dtrace"
since that patch is already touching similar parts of dt_prov_uprobe.c and one
would expect you would have caught this while working on that code anyway.
On Tue, Jan 16, 2024 at 09:13:15PM +0000, Nick Alcock via DTrace-devel wrote:
> This is almost harmless right now, but it will become less so,
> and it's still wrong.
>
> Signed-off-by: Nick Alcock <nick.alcock at oracle.com>
> ---
> libdtrace/dt_prov_uprobe.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libdtrace/dt_prov_uprobe.c b/libdtrace/dt_prov_uprobe.c
> index 413e19cfce06..0ed79d76ef2b 100644
> --- a/libdtrace/dt_prov_uprobe.c
> +++ b/libdtrace/dt_prov_uprobe.c
> @@ -310,7 +310,7 @@ static int provide_pid_probe(dtrace_hdl_t *dtp, const pid_probespec_t *psp)
> return -1;
> }
>
> - return provide_probe(dtp, psp, prb, &dt_usdt, 0);
> + return provide_probe(dtp, psp, prb, &dt_pid, 0);
> }
>
> static int provide_usdt_probe(dtrace_hdl_t *dtp, const pid_probespec_t *psp)
> --
> 2.43.0.272.gce700b77fd
>
>
> _______________________________________________
> DTrace-devel mailing list
> DTrace-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/dtrace-devel
More information about the DTrace-devel
mailing list