Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase the buffer size and try kStall to avoid dropping samples (#4…
…5111) Summary: Pull Request resolved: #45111 Spent time debugging this issue today: https://fb.workplace.com/groups/1700234700326965/posts/2197109080639522 The problem is described here: https://perfetto.dev/docs/concepts/buffers But basically we're writing too much data, too fast and the traced process can't read it fast enough. Perfetto is doing data drop. This diff tries to use the `kStall` mode. It doesn't seem to do much but I'll leave it in for now because it shouldn't hurt too much. It's designed for our use case. The main fix comes from increasing the buffer size to 20MB. Since it's not on by default I think it's fine to have a really large buffer for now to unblock tracing. Reviewed By: javache Differential Revision: D58832598 fbshipit-source-id: 101b364e2e9e28aa6a041ded1df82d5fec1f42e1
- Loading branch information