indented relay traces

Molle Bestefich molle.bestefich at
Wed Jul 5 08:49:23 CDT 2006

James Hawkins wrote:
> I don't know if you've ever wished the relay traces were indented by
> the level of the call, so you can get a better feel for who calls what
> from where, but I thought it would be nifty.  I've attached a patch
> > for dlls/ntdll/relay.c that gives you this.

Hah, funny..
I made a patch to accomplish exactly the same a year ago.

Eric Pouech wrote:
> this won't work for a multithreaded program

Mine did :-).
Also, it could filter calls beyond a specific level, as a way of
limiting output.

> tools/examine_relay does what you want, plus some other goodies
> (calls that didn't return...)
> IMO it's better to instrument the tools after the relay trace,
> rather than tweaking the trace generation for any potential goodie

IMHO, tools/examine_relay seemed to behave wrongly in some cases and
is also an overly complex solution compared to just doing this at
runtime.  It really doesn't take much code.

More information about the wine-devel mailing list