Writing a #net CLR profiler in C#.
I was thinking about that for quite some time; than I've stumbled across this great article https://minidump.net/writing-a-net-profiler-in-c-part-1-d3978aae9b12
Long story short if someone is interested, here is my weekend experiment ⚗️:
https://github.com/mvenditto/ManagedCorProfiler.
Just found out about NativeAOT and seems very interesting.