[PATCH] libgcov support for profile collection in region of interest (issue6186044)

2012-05-03 Thread Teresa Johnson
This patch adds functionality to libgcov to enable user applications to collect profile data only in regions of interest. This is useful, for example, to collect profile data from a long-running server only during the time when it is serving requests. Specifically, the new routines __gcov_reset wi

[PATCH] libgcov support for profile collection in region of interest (issue6186044)

2012-05-08 Thread Teresa Johnson
Hi Honza, I added L_gcov_reset and L_gcov_dump for the new interfaces, and also added a description into the gcov man page. Let me know if it looks ok now. Bootstrapped and tested on x86_64-unknown-linux-gnu. Thanks, Teresa 2012-05-08 Teresa Johnson * libgcc/libgcov.c (gcov_clear,

Re: [PATCH] libgcov support for profile collection in region of interest (issue6186044)

2012-05-07 Thread Xinliang David Li
+Honza and Nathan. David On Thu, May 3, 2012 at 10:52 AM, Teresa Johnson wrote: > This patch adds functionality to libgcov to enable user applications to > collect profile data only in regions of interest. This is useful, for > example, to collect profile data from a long-running server only > d

Re: [PATCH] libgcov support for profile collection in region of interest (issue6186044)

2012-05-07 Thread Jan Hubicka
> +Honza and Nathan. > > David > > On Thu, May 3, 2012 at 10:52 AM, Teresa Johnson wrote: > > This patch adds functionality to libgcov to enable user applications to > > collect profile data only in regions of interest. This is useful, for > > example, to collect profile data from a long-running

Re: [PATCH] libgcov support for profile collection in region of interest (issue6186044)

2012-05-08 Thread Jan Hubicka
> Hi Honza, > > I added L_gcov_reset and L_gcov_dump for the new interfaces, and also > added a description into the gcov man page. Let me know if it looks > ok now. > > Bootstrapped and tested on x86_64-unknown-linux-gnu. > > Thanks, > Teresa > > 2012-05-08 Teresa Johnson > > * libg

Re: [PATCH] libgcov support for profile collection in region of interest (issue6186044)

2012-05-08 Thread Teresa Johnson
On Tue, May 8, 2012 at 10:37 AM, Jan Hubicka wrote: > > > Hi Honza, > > > > I added L_gcov_reset and L_gcov_dump for the new interfaces, and also > > added a description into the gcov man page. Let me know if it looks > > ok now. > > > > Bootstrapped and tested on x86_64-unknown-linux-gnu. > > > >

Re: [PATCH] libgcov support for profile collection in region of interest (issue6186044)

2012-05-08 Thread Jan Hubicka
> On Tue, May 8, 2012 at 10:37 AM, Jan Hubicka wrote: > > > > > Hi Honza, > > > > > > I added L_gcov_reset and L_gcov_dump for the new interfaces, and also > > > added a description into the gcov man page. Let me know if it looks > > > ok now. > > > > > > Bootstrapped and tested on x86_64-unknown-