[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#218519: libc6-i686: LD_DEBUG=statistics doesn't show timings



On Fri, Oct 31, 2003 at 10:31:38PM +0100, Juergen Kreileder wrote:
> Package: libc6-i686
> Version: 2.3.2.ds1-8
> Severity: minor
> 
> % LD_DEBUG=statistics /bin/true 
>       9773:                      number of relocations: 90
>       9773:           number of relocations from cache: 5
>       9773:
>       9773:     runtime linker statistics:
>       9773:                final number of relocations: 100
>       9773:     final number of relocations from cache: 5
> 
> This doesn't include any clock counts, with a i686 build that supports
> hp timing I would expects something like
> 
> (glibc-2.2.5 on AMD64)
> % LD_DEBUG=statistics /bin/true
> 00777:
> 00777:  runtime linker statistics:
> 00777:    total startup time in dynamic loader: 1084875 clock cycles
> 00777:              time needed for relocation: 699553 clock cycles (64.4%)
> 00777:                   number of relocations: 250
> 00777:        number of relocations from cache: 71
> 00777:             time needed to load objects:  clock cycles (.0%)

/lib/ld-linux.so.2 doesn't support hp timing.  It can't.  It's required
to also work on i386's.

If you want this information, you can use /lib/i686/ld-linux.so.2 by
hand.  I won't close this bug yet; this should be documented.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: