https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123923
--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Dhruv Chawla <[email protected]>: https://gcc.gnu.org/g:f164ed904503c9eff5c15977526f7f036d247963 commit r16-7955-gf164ed904503c9eff5c15977526f7f036d247963 Author: Dhruv Chawla <[email protected]> Date: Thu Feb 12 03:57:51 2026 +0000 gcc-auto-profile: Force --inherit flag for perf record [PR123923] This works around a bug I was seeing while testing autoprofiledbootstrap where it appeared that perf record was only recording the make invocation and not any of the child processes. I did not find any configuration that would make it do so, so forcing the flag in gcc-auto-profile will make sure that it doesn't happen regardless of perf's settings. Bootstrapped and regtested on aarch64-linux-gnu. Signed-off-by: Dhruv Chawla <[email protected]> gcc/ChangeLog: PR gcov-profile/123923 * config/aarch64/gcc-auto-profile: Add --inherit to perf record flags. * config/i386/gcc-auto-profile: Likewise.
