dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.95k stars 4.65k forks source link

Chaining profilers #9725

Open bobuva opened 6 years ago

bobuva commented 6 years ago

In years past, I've spoken with various people at Microsoft who were interested in running multiple profilers (that use the .NET Profiler API) on the same machine. Has any consideration been given to this for the now open-source profiler here in coreclr?

RussKeldorph commented 6 years ago

@noahfalk

lt72 commented 6 years ago

@bobuva: yes, we have considered the issue, but we do not believe we will proceed to design/implementation any time soon. Although this is definitely on our TODO list, we did not have many concrete requests on this subject yet.

bobuva commented 6 years ago

@lt72 Thanks for the reply. Although you haven't seen many requests, there are in fact products on the market that use the profiler API. Attempting to have another profiler api-based tool reside side-by-side with one of them is currently impossible. I would be interested in continuing to speak to whomever is keeping an eye on that item.

lt72 commented 6 years ago

That would me either myself or @noahfalk

bobuva commented 6 years ago

@lt72 , @noahfalk : I'll be at //build in May. Will either of you be at the conference? Maybe we could chat more there?

lt72 commented 6 years ago

We are not participating directly, but it will be a pleasure to stop by and chat! I'll send you my contact so you can ping me directly when the time comes and we can agree on details then.

bobuva commented 6 years ago

Thanks!

davmason commented 3 years ago

The runtime does not support multiple profilers, but Microsoft provides the CLR instrumentation engine that allows you do host multiple IL rewriting profilers at once: https://github.com/microsoft/CLRInstrumentationEngine