Skip to content

Commit

Permalink
fbt: ignore compiler-generated internal symbols
Browse files Browse the repository at this point in the history
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Reviewed-by: Eugene Loh <eugene.loh@oracle.com>
  • Loading branch information
kvanhees committed May 25, 2023
1 parent b440174 commit 525b8c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libdtrace/dt_prov_fbt.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Oracle Linux DTrace.
* Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 525b8c4

Please sign in to comment.