From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1B950383E826; Wed, 3 Jun 2020 15:17:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B950383E826 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591197466; bh=OR9/fIHKvCwuSdsh12h4icby1VwqzxYwTINi9A5mO4k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DIrlManzP+V9+2rlPQjHCEjcH7GqmfTLBibXKtRa6UUhFOirJTog8UixnFCfQUlnx xEn1gkBk5OBXkVk95neJueXpEuIgPzBgUBhXmFXsVYMq1LaQXgQJT+sa+Y4fcjMTb1 kWnI8RUW1Hh93s+uju9TS+HU6jD5oWf6OvnDY3VU= 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: Wed, 03 Jun 2020 15:17:45 +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: Wed, 03 Jun 2020 15:17:46 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95348 --- Comment #26 from Qing Zhao --- > --- Comment #25 from Martin Li=C5=A1ka --- >> I will try to get more data on our real application.=20 >>=20 >> one question: why not just delete the entire records whose counter is ze= ro >> and delete the entire file whose counter is zero? >=20 > Because we need to distinguish in between situations where a function was > really not executed (counter =3D=3D 0) and the situation where we miss pr= ofile for > a function. Understood. However, is it possible to just provide an option for the user= to choose to just delete all the zero records and files in order to save more space? >=20 > How exactly do you merge profiles? Do you run parallel invocation which c= an > take log2(N)? We run serial merge adding one at a time right now.=20 Is it possible for gcov-merge to add a new functionality to automatically m= erge complete Set of subdirectories?=