Dynamic Tracing of .NET Core Methods

added by DotNetKicks
2/8/2018 1:26:24 PM

2 Kicks, 293 Views

tl;dr I wrote a simple proof-of-concept tool called place-probe.py which helps place dynamic tracepoints on .NET methods. For example: place-probe.py $PID 'System.Threading.Thread::Sleep'. Dynamic tracing is one of the Linux diagnostics superpowers. By adding dynamic tracepoints on arbitrary functions across the system, you can diagnose a variety of "impossible" bugs and performance problems on a live production application without having to add instrumentation, rebuild, and restart.


0 comments