google / perfetto

Performance instrumentation and tracing for Android, Linux and Chrome (read-only mirror of https://android.googlesource.com/platform/external/perfetto/)
https://www.perfetto.dev
Apache License 2.0
2.87k stars 358 forks source link

fill_policy: DISCARD and RING_BUFFER setting is related with Callstack. #863

Closed forrestxu123 closed 2 months ago

forrestxu123 commented 2 months ago

Callstack sampling call back works great. but it is only available when buffers: { size_kb: 1522240 fill_policy: DISCARD } buffers: { size_kb: 4096 fill_policy: DISCARD } if fill_policy is set to RING_BUFFER, we can not see Callstack.

LalitMaganti commented 2 months ago

Please link your trace. This is impossible to debug without it.

There is no limitation on callstack profiling using DISCARD: we use ringbuffer callstack profiling all the time in Google.

forrestxu123 commented 2 months ago

IF I USE ringbuffer, I CAN NOT SEE callstack profiling?

LalitMaganti commented 2 months ago

Closing as without a trace, this bug cannot be actioned.