Closed sl0thentr0py closed 1 year ago
@sl0thentr0py these could be because of GC samples. GC samples have odd delta calculations.
Can you match those samples up with their stack frame?
alright yea I missed that logic, thanks for the pointer! that would make sense, I will close this. If I get time to confirm the hypothesis later, I can update this issue.
Hey!
Disclaimer: I'm the current https://github.com/getsentry/sentry-ruby maintainer and work at Sentry. We're trying to integrate
stackprof
into our Profiling offering.While trying out
stackprof
withpuma
, I'm noticing some weirdraw_timestamp_deltas
(notice the 0/1 values) in:wall
mode. This happens even withthreads 1,1
in the puma config since puma seems to start a bunch of other threads anyway.These do not appear in single threaded
unicorn
.Could anyone guide me into investigating why this could happen? Is this because of the signal forwarding to
target_thread
here that could somehow result in these weird timestamps?