I want to write a CLR profiler to hook our application function with GetILFunctionBody/SetILFunctionBody.
I just want to use .NET Profiling API (ICorProfilerCallback etc) but at the same time don\'t want to deal with C++. I\'ve been looking around for a while and haven\'t found any example in C# but C# 开
I wrote a small profiler for .NET applications. It uses the ICorProfilerCallback2 interface. The profiler attaches and works well for .NET 2.0 application but doesn\'t work for .NET >2.0 (3.0, 3.5, 4
I\'ve been looking at some of the articles for the CLR Profiling API, and many of those articles talk about calling SetILFunctionBody() to do the actual IL rewriting; however, none of those articles a