1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-11-27 22:49:15 +02:00
Files
opentelemetry-go/internal/global/trace.go
Tyler Yahn 90a9d1d936 Do not inline noopSpan.tracerProvider (#6456)
Currently, the `noopSpan.tracerProvider` is inlined into
`noopSpan.TracerProvider` for binaries built with standard tooling. This
function is needed in the ELF file for auto-instrumentation. Ensure
this, and the other required methods are always kept isolated.

cc @open-telemetry/go-instrumentation-approvers

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2025-03-19 14:50:43 -07:00

6.6 KiB