This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v2] gcov: Runtime configurable destination output
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Nathan Sidwell <nathan at acm dot org>
- Cc: Aaron Conole <aconole at redhat dot com>, gcc-patches at gcc dot gnu dot org, Jan Hubicka <hubicka at ucw dot cz>
- Date: Wed, 4 May 2016 17:25:43 +0200
- Subject: Re: [PATCH v2] gcov: Runtime configurable destination output
- Authentication-results: sourceware.org; auth=none
- References: <1456350732-8272-1-git-send-email-aconole at bytheb dot org> <f7t60v24vl4 dot fsf at redhat dot com> <59207732-1532-8785-7387-ac793ddad021 at acm dot org> <f7tk2jgfo6j dot fsf at redhat dot com> <6ab05137-7f81-7024-6c21-640dccb16766 at acm dot org>
> On 04/29/16 11:08, Aaron Conole wrote:
>
> >Perhaps I've poorly explained what I want. I want to be able to pipe
> >gcov error messages to a different file for post-processing / reporting
> >elsewhere. I don't want them mixed with the application's messages. Do
> >you think this kind of generic flexibility is not a good thing, when it
> >comes at such little cost?
>
> Thanks for clarifying your rationale. I'm not convinced, but I'm
> not (yet) saying no.
>
> Jan, do you have any thoughts?
I can imagine this to be useful - if your application is outputting stuff into
error output during its training run, it may be quite disturbing having gcov
diagnostics randomly mixed in. (in particular I run myself into cases missing
the diagnostics) So I am fine with the feature.
Honza
>
> nathan