From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 14B5A3851C01; Mon, 1 Jun 2020 15:39:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14B5A3851C01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591025983; bh=MMErnx5mNRLIK20z6Rq2k4lFAU+P35Kuc+B+chQSUSY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FE/Iil15udClTIYCPgun4eMvmlgmygK4eiV1glMlxsTzcQ0VXt/uoggRJQ5Qg9aXH df0XdS6T5MlqNStARwHXN0GgLNWw75M/sEDhKmvvSVh8JIPTPCikFz/3S5Pv50hAiA QSqWiTihK1yjo3UND+AAbCdt5I7iQGbrv2vnE1P0= From: "qinzhao at gcc dot gnu.org" 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: Mon, 01 Jun 2020 15:39:42 +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: qinzhao at gcc dot gnu.org 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: Mon, 01 Jun 2020 15:39:43 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95348 --- Comment #18 from qinzhao at gcc dot gnu.org --- (In reply to Martin Li=C5=A1ka from comment #16) > > For our application, all processes generating profiling feedback data t= o a > > single directory seems is not a choice.=20 >=20 > Why is it problem? You need to provide reasoning for that. this is a long time ago. If I remembered correctly, we tried the scheme tha= t=20 all the processes generate profiling feedback data to the single directory,= =20 but looks like a lot of info got lost, resulting bad performance effect.=20 then we switched to this current approach.=20 >=20 > > We chose -fprofile-dir=3D%p and then use gcov-merge to merge them. >=20 > Sure, that's possible but you pay with a lot of disk space needed. > Btw. how long does it take to merge all the collected data with gcov-tool? I didn't get very accurate info on this, but it's over 24 hours for merging= .=