On Fri, 19 Jun 2015, Utpal Patel wrote: > Thanks Nicholas for the detailed answer. > > I am compiling the both the applications and libraries with > -fprofile-arcs and -ftest-coverage. > > In summary, what you are saying is that I need to instrument every > library with a wrapper for __gcov_flush() and call it from the Signal > handler from the application, right? > yup - as far as I understand this you need some handler in *every* library you want to dump runtime infos - it also is not resolved with a LD_PRELOAD library or the like (atleast I did not manage to do that - if you do find a smarter solution I would be interested !) thx! hofrat