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
Currently, teletryStart is a fully blocking call. There appears to be no way to stop tracing without sending a signal that would cause perf_buffer__poll to return <0, .e.g., SIGSTOP or SIGCONT (based on the comments). This can race with the call to perf_buffer_poll which may not be on the stack when the signal arrives.
If you are trying to use this library in-process, it is difficult to control stopping as designed.
An Init->Start->Stop->Fini pattern would be useful for this library.
Currently,
teletryStart
is a fully blocking call. There appears to be no way to stop tracing without sending a signal that would causeperf_buffer__poll
to return<0
, .e.g.,SIGSTOP
orSIGCONT
(based on the comments). This can race with the call toperf_buffer_poll
which may not be on the stack when the signal arrives.If you are trying to use this library in-process, it is difficult to control stopping as designed.
An Init->Start->Stop->Fini pattern would be useful for this library.
SysinternalsEBPF/telemetryLoader.c
Lines 1432 to 1470 in b9035cf
The text was updated successfully, but these errors were encountered: