[PATCH] gprof: Copy a simple test from glibc
Sam James
sam@gentoo.org
Fri Mar 7 00:51:52 GMT 2025
"H.J. Lu" <hjl.tools@gmail.com> writes:
> Copy a simple gprof test from glibc to test the basic gprof functionality.
>
> PR gprof/32764
> * Makefile.am (SUBDIRS): Add testsuite
> * configure.ac (AC_CONFIG_FILES): Removed.
> (AC_OUTPUT): Add Makefile testsuite/Makefile
> po/Makefile.in:po/Make-in.
> (AM_CONDITIONAL): Add NATIVE.
> * Makefile.in: Regenerated.
> * configure: Likewise.
> * testsuite/Makefile.am: New file.
> * testsuite/tst-gmon-gprof.sh: Likewise.
> * testsuite/tst-gmon.c: Likewise.
> * testsuite/Makefile.in: Generated.
Thanks and LGTM. I was considering sending the same but wasn't sure
about checking for if -pg worked was too much hassle. But it ends up
being simple in the end.
More information about the Binutils
mailing list