indented relay traces

Eric Pouech eric.pouech at
Sat Jun 24 04:08:14 CDT 2006

James Hawkins wrote:

> Hey guys,
> 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.  You see the call level
> next to the thread id, then twice that number of spaces, then the
> usual relay information.  I'd paste an example, but it would just get
> line wrapped, so patch your tree and give it a shot!
this won't work for a multithreaded program
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


More information about the wine-devel mailing list