This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] i386: Replace internal_function attribute for __mcount_internal


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]