[PATCH] Test for profiling support (_mcount/gprof)
Florian Weimer
fweimer@redhat.com
Tue Aug 15 12:05:00 GMT 2017
The attached patch adds an integration test for gcc -pg, _mcount/gmon,
and gprof.
It passes on aarch64, ppc, ppc64, ppc64le, s390, s390x, x86_64, and on
i386 with the _mcount internal_function replacement applied.
The test is compiled with -pg and is linked against gcrt1.o, via the new
CRT-* makefile hook. As far as I can tell, it is properly isolated from
system glibc (only GCC objects are picked up).
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmon.patch
Type: text/x-patch
Size: 6866 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170815/cd846248/attachment.bin>
More information about the Libc-alpha
mailing list