[PATCH] gprofng: a new GNU profiler

Joseph Myers joseph@codesourcery.com
Wed Aug 11 21:48:37 GMT 2021


On Wed, 11 Aug 2021, Vladimir Mezentsev via Binutils wrote:

> - Currently gprofng supports profiling programs in GNU/Linux systems
> running on x86_64 and aarch64 hardware. It is possible to add support
> for additional architectures.

Have you made sure that if binutils is built for a host or target not 
supported by gprofng, or lacking any build dependencies of gprofng that 
are not build dependencies of the rest of binutils, it disables building 
that subdirectory rather than failing the build?

Suppose you build cross binutils.  What functionality is present for 
gprofng?  Does it build a cross gprofng that can read profile data that 
was collected natively (by a native gprofng) on a system of the configured 
--target, while not itself being able to collect profile data, for 
example?  That's what seems logical for cross gprofng to be able to do - 
everything related to processing profile data for the configured target 
(regardless of what the host architecture or OS are) other than natively 
collecting it - but I don't know if it's designed that way, or whether you 
e.g. depend on structures describing the profile data that may not be so 
readily available in such a configuration.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Binutils mailing list