While working on coreclr ETW events integration with the samply profiler, I realized that there's no per-object allocation event. GCAllocationTick only fires when the threshhold goes over, which is a const set at 100kb. However, the CORProfiler interface does have this -- COR_PRF_MONITOR/ENABLE_OBJECT_ALLOCATED and friends. These trigger a callback via the profiler interface.
Is there interest in adding this? It would be expensive, so only if a specific new provider was enabled, similar to the rundown provider? (Or does this already exist and I'm missing it?)
While working on coreclr ETW events integration with the
samplyprofiler, I realized that there's no per-object allocation event.GCAllocationTickonly fires when the threshhold goes over, which is a const set at 100kb. However, the CORProfiler interface does have this --COR_PRF_MONITOR/ENABLE_OBJECT_ALLOCATEDand friends. These trigger a callback via the profiler interface.Is there interest in adding this? It would be expensive, so only if a specific new provider was enabled, similar to the rundown provider? (Or does this already exist and I'm missing it?)