From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA5BE3987430; Fri, 29 May 2020 16:40:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA5BE3987430 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590770427; bh=ELymj/HCWY+7oZbMBbPjSke85tG5LpK4zQFzR3//cIo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DKSnkcHlXIWGDgk8plrqlH68M3MFYifFNStJ7Ru6TMXlcX0B7htuQF94bSQ3XMI0O wwLAx1JKYHkKXJq6wc1Jaa+8QnzKxrzT2IZXgCG+KC532D3doCra0C4YTggi6HCrrO pvSwfzWA6zYs7YKPZ/U/o6iXzowVMxclu73e3Ir8= 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:40:27 +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:40:27 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95348 --- Comment #14 from Qing Zhao --- >=20 > -fprofile-dir=3Dgcc_prof_dir/%p" >=20 > So my recommendation would be not to use it and let GCOV run-time library= merge > the profiles. Of course, I'll be interested in `perf report` of such a > instrumented run.. For our application, all processes generating profiling feedback data to a single directory seems is not a choice.=20 We chose -fprofile-dir=3D%p and then use gcov-merge to merge them.=