Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an example of how to customize a .NET 4.0 profiler?

I know there is one for profiler 2.0: http://www.codeproject.com/KB/dotnet/dotnetprofiler.aspx But the profiler API has changed in .NET 4.0 and we need to consider in-process side by side issues. I need an example to customize our own profiler. Anyone knows that? Thanks!

like image 516
Kevin C. Avatar asked Jan 02 '26 07:01

Kevin C.


1 Answers

I don't have an actual example, but this post is exactly about your question. Also check out the rest of his blog, there are more posts about 4.0 profilers (and profilers in general).

By the way, in the comments section of the linked blog post he says the official 4.0 profiler source is not ready, but when it is he'll post about it. (Though this was 4 months ago or something.)

Edit: CLRProfiler 4.0 just got released and includes source code, so you got your sample ;-)

like image 123
Zarat Avatar answered Jan 03 '26 21:01

Zarat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!