This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Gcc profile questions


On February 19, 2019 5:19:11 PM GMT+01:00, Qing Zhao <qing.zhao@oracle.com> wrote:
>Hi,
>
>Suppose we have a program called foo which is built with gcc
>-fprofile-generate,  Now when foo is executed a bunch of .gcda files
>are created.  
>
>What happens when foo is executed more than once.  Are the .gcda files
>updated with each execution? 

Yes. 

Or are the .gcda files overwritten with
>new .gcda files (and thus contain profile info only for the last
>execution)?
>
>Thanks for the info.
>
>Qing


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