This project has moved and is read-only. For the latest updates, please go here.

Writing Your Own Profiler

On the latest Release Page, you will find the source code for both CLRProfiler and ILRewrite. The former demonstrates how to write a complete memory profiler, including support for profiling Windows Store apps. The latter demonstrates how to use the ReJIT methods of the CLR Profiling API to rewrite (i.e., instrument) IL.

We also encourage you to familiarize yourself with the MSDN documentation on the CLR Profiling API:
Profiling (Unmanaged API Reference)
CLR Profiling API Blog
Building Development and Diagnostic Tools for .Net Forum

Other samples:
CLR V4 Profiling API Attach Trigger Sample
Test harness for loading in-process side-by-side CLR instances
SigParse - Sample code to parse CLR metadata signatures

Last edited Nov 14, 2012 at 10:09 PM by DavidBroman, version 3

Comments

No comments yet.