Subject: Re: profile dynamically linked executables?
To: None <firstname.lastname@example.org, email@example.com>
From: Ross Harvey <firstname.lastname@example.org>
Date: 07/13/1999 10:37:30
> From: Ian Dall <email@example.com>
> This is clumsy though. What would it take to make a more capable profiling
> method? If you could call profil(2) or something like it, for each of
> the dynamically loaded modules/libraries. The main catch I see is you
> need an efficient way of sticking the sampled PC in what is effectively
> a sparse array. Also you would want some corresponding user land changes.
If one is going to invent a new profiling mechanism, I think that extending
the existing method of compression-into-bins into compression-into-sparse-
bins is too much work for a historically important but suboptimal sampling
I would propose instead that a new profiler simply accumulate and
write out a linear series of PC samples.