Welcome to MSDN Blogs Sign in | Join | Help

October 2005 - Posts

DoStackSnapshot Tidbit #3: Callback CONTEXT Registers

In my initial post about DoStackSnapshot , I touched on how and when your profiler can "fill in the holes" by walking the unmanaged parts of the stack itself. Doing this requires that your profiler have access to a register context at the top of the unmanaged
Posted by davbr | 2 Comments

DoStackSnapshot Tidbit #2: Looney HRESULTs

Generally, corerror.h tells you all you need to know about what kinds of HRESULTs to expect back from DoStackSnapshot. However, there are some fringe cases where you can get back an HRESULT that's not as descriptive as you might like. E_FAIL I don't much
Posted by davbr | 6 Comments

Sample: A Signature Blob Parser for your Profiler

If your profiler plays with metadata, you've undoubtedly come across signature blobs. They’re used to encode type information for method definitions & references, local variables, and a whole lot more. They’re wonderfully compact, recursively versatile,
Posted by davbr | 9 Comments

DoStackSnapshot Tidbit #1: Exception Filters

Believe it or not, my last (rather large) post on stack walking actually left out several miscellaneous details about using DoStackSnapshot. I'll be posting those details separately. We'll start off with some light reading on exception filters. No deadlocks
Posted by davbr | 10 Comments

Profiler stack walking: Basics and beyond

Introduction This article is targeted toward profiler authors, and anyone interested in building a profiler to examine managed applications. I will describe how you can program your profiler to walk managed stacks in version 2.0 of the Common Language
Posted by davbr | 12 Comments

Who's the guy with the nifty haircut?

Howdy! I'm David Broman, and I've been a developer on the Common Language Runtime for about a year, focusing on the Profiling API with Jonathan Keljo , Rico Mariani , and many others. Before the CLR, I worked in various MSN groups, including the MSN Newsletters
Posted by davbr | 5 Comments
 
Page view tracker