You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
co_instrumentation and co_monitoring Unexpectedly Set #133524
The root cause for this is that flipping f_trace_opcodes changes the global version of instrumentation. Therefore a new function being called allocates the instrumentation data to get up to date.
I think we can do an optimization here by checking if any event is set globally - if not, don't bother allocating the instrumentation memory. If @markshannon thinks this is something we should do, I can do it.
Activity
[-]co_instrumentation Unexpectedly Set[/-][+]co_instrumentation and co_monitoring Unexpectedly Set[/+]gaogaotiantian commentedon May 6, 2025
The root cause for this is that flipping
f_trace_opcodeschanges the global version of instrumentation. Therefore a new function being called allocates the instrumentation data to get up to date.I think we can do an optimization here by checking if any event is set globally - if not, don't bother allocating the instrumentation memory. If @markshannon thinks this is something we should do, I can do it.