Re: a new libgcov interface: __gcov_dump_all

2017-12-29 Thread Martin Liška
On 10/26/2017 10:47 AM, Martin Liška wrote: > On 07/22/2014 06:04 PM, Xinliang David Li wrote: >> Please take a look the updated patch. It addresses the issue of using >> dlclose before dump, and potential races (between a thread closing a >> library and the dumper call). >> >> David >> >> On Sun,

Re: a new libgcov interface: __gcov_dump_all

2017-10-26 Thread Martin Liška
On 07/22/2014 06:04 PM, Xinliang David Li wrote: > Please take a look the updated patch. It addresses the issue of using > dlclose before dump, and potential races (between a thread closing a > library and the dumper call). > > David > > On Sun, Jul 20, 2014 at 11:12 PM, Nathan Sidwell wrote: >>

Re: a new libgcov interface: __gcov_dump_all

2014-07-22 Thread Xinliang David Li
Please take a look the updated patch. It addresses the issue of using dlclose before dump, and potential races (between a thread closing a library and the dumper call). David On Sun, Jul 20, 2014 at 11:12 PM, Nathan Sidwell wrote: > On 07/20/14 21:38, Xinliang David Li wrote: >> >> The gcov_info

Re: a new libgcov interface: __gcov_dump_all

2014-07-20 Thread Nathan Sidwell
On 07/20/14 21:38, Xinliang David Li wrote: The gcov_info chain is not duplicated -- there is already one chain (linking only modules of the library) per shared library in current implementation. My change does not affect underlying behavior at all -- it merely introduces a new interface to acce

Re: a new libgcov interface: __gcov_dump_all

2014-07-20 Thread Xinliang David Li
The gcov_info chain is not duplicated -- there is already one chain (linking only modules of the library) per shared library in current implementation. My change does not affect underlying behavior at all -- it merely introduces a new interface to access private dumper methods associated with shar

Re: a new libgcov interface: __gcov_dump_all

2014-07-20 Thread Nathan Sidwell
On 07/18/14 22:41, Xinliang David Li wrote: Hi, the following patch implements a new dumper interface to allow dumping of profile data for all instrumented shared libraries. For good reasons, existing libgcov implements the dumping on a per-shared library basis (i.e., gcov_exit is hidden, gcov_l

a new libgcov interface: __gcov_dump_all

2014-07-18 Thread Xinliang David Li
Hi, the following patch implements a new dumper interface to allow dumping of profile data for all instrumented shared libraries. For good reasons, existing libgcov implements the dumping on a per-shared library basis (i.e., gcov_exit is hidden, gcov_list is file static). This allows each shared l