We need information about how many times the method sampler bails due to invocation of the Method Sampling Crash Protection code - this will give some indication about why method samples are not being retrieved. In addition, I suggest we make method sampling protection configurable also in product builds:
The same defaults will apply: On in Product builds and Off in non-Product builds.
However, you will be able to change this also in product builds (if we want to have someone force a crash directly to indicate a problem point in the stackwalking code). Now, there is no way to turn off protection in product code, so any reproducers which would need to crash need to use a separate fastdebug build.
The same defaults will apply: On in Product builds and Off in non-Product builds.
However, you will be able to change this also in product builds (if we want to have someone force a crash directly to indicate a problem point in the stackwalking code). Now, there is no way to turn off protection in product code, so any reproducers which would need to crash need to use a separate fastdebug build.