[DTrace-devel] [PATCH 5/7] fbt: ignore compiler-generated internal symbols
Eugene Loh
eugene.loh at oracle.com
Tue May 9 22:41:08 UTC 2023
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
On 5/9/23 18:32, Kris Van Hees via DTrace-devel wrote:
> Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
> ---
> libdtrace/dt_prov_fbt.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/libdtrace/dt_prov_fbt.c b/libdtrace/dt_prov_fbt.c
> index 462ab7ed..47e0a5c7 100644
> --- a/libdtrace/dt_prov_fbt.c
> +++ b/libdtrace/dt_prov_fbt.c
> @@ -100,6 +100,10 @@ static int populate(dtrace_hdl_t *dtp)
> p++;
> }
>
> + /* Weed out synthetic symbol names (that are invalid). */
> + if (strchr(buf, '.') != NULL)
> + continue;
> +
> /*
> * If we did not see a module name, perform a symbol lookup to
> * try to determine the module name.
More information about the DTrace-devel
mailing list