[PATCH] i386: Replace internal_function attribute for __mcount_internal
Florian Weimer
fweimer@redhat.com
Tue Aug 15 11:41:00 GMT 2017
On 08/14/2017 09:06 PM, H.J. Lu wrote:
> Here is a simple test on Fedora 26.
>
> [hjl@gnu-6 tmp]$ cat foo.c
> #include <stdio.h>
>
> void
> foo (void)
> {
> printf ("hello\n");
> }
>
> int
> main ()
> {
> foo ();
> return 0;
> }
> [hjl@gnu-6 tmp]$ gcc -c -pg foo.c
Sure, but I'm worried about isolation from the host system.
> We don't profile gliibc.
See --enable-profile. -pg should pick up the profiling libc on systems
where it is installed. We need to prevent that for the test.
I think I have something which matches our requirements, but I still
need to test it on a variety of architectures.
Thanks,
Florian
More information about the Libc-alpha
mailing list