This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcov can't collect data when process is executed by systemctl start but it can when executed by ./process
- From: Xiaoli Feng <xifeng at redhat dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 31 Jul 2017 04:57:45 -0400 (EDT)
- Subject: gcov can't collect data when process is executed by systemctl start but it can when executed by ./process
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=xifeng at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com AA67BC19072B
Hello,
Sorry to noise you. But I don't know how to fixed this issue. The gcov can
collect code coverage data if the process is executed in shell. But when
the process is start by systemd service. The *.gcda can't be generated. I google
many info. But there is no solution. So I only send mail to ask for your help.
Does any one know what's happen? And where to find the gcov error message?
If I send the wrong email address. Sorry about that.
--
Best regards!
XiaoLi Feng 冯小丽