From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E91A3938C2F; Fri, 29 May 2020 16:37:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E91A3938C2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590770259; bh=fNAYTTVyTHd5wHBtp94WzqTdtNMSvpgSAtEQ1b46I6I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LYs7rpYNOOEDKSx9lSt8P6ppMbnbLvEzC5bURQ8oHejjyw4nfEp6oJfnijmCvlPIW s1X8XJVaZE7bDG0BcaBM1/WMcrOmcq0pwjL+HtUaioZhqkvhavPz2aUesPqNGXad1F vYQuDnkWZtmz9bDYsPi1SVWR9a86H6t7fFpUDo1g= From: "qing.zhao at oracle dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/95348] GCC records zero functions and modules in the profiling data file, ICC does NOT Date: Fri, 29 May 2020 16:37:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: qing.zhao at oracle dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2020 16:37:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95348 --- Comment #13 from Qing Zhao --- > The only exception is a cross-profiling: > https://gcc.gnu.org/onlinedocs/gcc/Cross-profiling.html >=20 > where one can use GCOV_PREFIX environment variable to save .gcda files to= a > separate location. >=20 > Do you use it? Or do you use any of -fprofile-dir options? Yes, We use -fprofile-dir=3Dpd%p when compile the modules.=