[tracing] Support tracing all entry points via embind.
Merge pull request #2893 from waywardmonkeys/trace-embind-entry-points

[tracing] Support tracing all entry points via embind.