Subject: Re: Musings on ld.elf_so and symbol lookup caching
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
Date: 10/04/2002 17:55:30
> in particular add an option for either 'wall clock' timestamps
> or 'cpu usage' ones.

Done, anyone brave (aka stupid) enough to test new versions of
ld.elf_so on their desktop system can pick up the source from
my web space http://www.btinternet.com/~david.laight/netbsd/ld.elf_so/
Only debug.[ch] have changed since the diff I posted earlier.

If compiled with DEBUG, the strtoul(getenv("LD_DEBUG"),...) is used
to get a bit pattern that control the trace output.
	0x01	=> normal trace (dbg())
	0x02	=> add timestamps
	0x04	=> cpu time timestamps (not wall clock)
	0x08	=> relative timestamps
	0x10	=> symbol lookup trace (sbdb())
	0x20	=> relocaltion trace (aka rdbg())

	David

-- 
David Laight: david@l8s.co.uk