public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/47618] New: Collecting multiple profiles and using all for PGO
@ 2011-02-06  0:28 roland at rschulz dot eu
  2012-07-21 23:57 ` [Bug gcov-profile/47618] " steven at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: roland at rschulz dot eu @ 2011-02-06  0:28 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47618

           Summary: Collecting multiple profiles and using all for PGO
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: gcov-profile
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: roland@rschulz.eu


Currently only the file from one profiling run can be used for PGO. Especially
for MPI programs it would be nice if several folders containing profiling files
could be merged or several directories could be used together for
-fprofile-use.

For saving the profiling files it would be great if the folder name could
contain an environment variable or could be set by an environment variable.

Thus I suggest that one could either say:
-fprofile-dir /some/path/%q{SOME_ENV}  #same syntax as valgrind
or
export GCC_PROFILE_DIR=/some/path/$SOME_ENV

This would be very useful because MPI implementation provide the MPI rank as a
environment variable. Thus with the suggestion one could store the profile of
each MPI rank in a different folder.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-01-06 18:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-06  0:28 [Bug gcov-profile/47618] New: Collecting multiple profiles and using all for PGO roland at rschulz dot eu
2012-07-21 23:57 ` [Bug gcov-profile/47618] " steven at gcc dot gnu.org
2012-07-22  0:42 ` pinskia at gcc dot gnu.org
2012-07-22  6:56 ` xunxun1982 at gmail dot com
2012-07-22  7:07 ` pinskia at gcc dot gnu.org
2012-07-22 10:23 ` steven at gcc dot gnu.org
2012-07-22 10:46 ` steven at gcc dot gnu.org
2012-07-24 22:13 ` pinskia at gcc dot gnu.org
2012-07-24 23:20 ` pinskia at gcc dot gnu.org
2012-07-24 23:52 ` roland at rschulz dot eu
2012-07-25  0:05 ` pinskia at gcc dot gnu.org
2012-07-25  0:50 ` roland at rschulz dot eu
2012-07-25  8:25 ` steven at gcc dot gnu.org
2022-01-06 18:56 ` ygribov at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).