Commit Graph

1 Commits

Author SHA1 Message Date
Chris Ventura 372d9ac871
Disable profiler bootstrap process for .NET Core (#314)
* Disable profiler bootstrap process for .NET Core

* Update src/OpenTelemetry.ClrProfiler.Native/cor_profiler.cpp

Fixes spelling error.

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>

* Update tests to use startup hook bootstrapping.

* Add test to validate startup hook is necessary

* Log if startup hook is not configured correctly.

* Add native tests for the startup hook validation.

* Update const and pass by ref for variables and parameters for startup hook functions

* Updating test and sample apps to use the startup hook.

* Updating scripts to set startup hook environment variable.

* Shutdown profiler if startup hook not configured correctly.

* Use const ref for all startup hook params and use OTEL_ naming convention.

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2022-02-02 16:10:25 -08:00