Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip more assemblies by their prefix #2841

Closed

Conversation

pjanotti
Copy link
Contributor

Why

Reduce the amount of work done on the CorProfilerBase::GetAssemblyReferences callback.

Collateral of #2833

What

Assemblies that are not going to be instrumented don't need to be internally tracked. This generates a lot of noise on debug logs and waste work on normal operations. Besides OpenTelemetry prefix I'm also adding some also from the current upstream: https://github.com/DataDog/dd-trace-dotnet/blob/5292fc6b09b29e924e62eb6c1cb82107b43d4789/tracer/src/Datadog.Tracer.Native/debugger_constants.h#L16

There are more differences with upstream, but, since we are close to GA let's be careful with these changes, so, at least for now not adding Microsoft or System to skip prefixes.

Tests

N/A

Checklist

- [ ] CHANGELOG.md is updated.
- [ ] Documentation is updated.
- [ ] New features are covered by tests.

@pjanotti pjanotti requested a review from a team August 15, 2023 02:47
@pjanotti
Copy link
Contributor Author

@pjanotti
Copy link
Contributor Author

The failures are consistent. I need to investigate them.

@pjanotti pjanotti closed this Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant