From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 35C0A3851C03; Wed, 3 Jun 2020 06:35:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35C0A3851C03 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591166100; bh=7c0VflAlZH6SPwGaA7wFKk2W5ZoVjNE7mEji6wfIm1c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mgCq0/SMoRQ5L7AeA6SbSnM1RmjrxrS3KeXplBmB90SxhMDZgWPqyYETynMnxUQvW JbV6zertovUDVhAjgBrUEjaoC9hnoJU3tVyGFWoTAHtu9pu0VUYhp1JG6PjbkkiA7e z4q1AA2z3VQYltCVpyVl+ySO1KPQZ5CyRwG9Wmow= From: "marxin 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: Wed, 03 Jun 2020 06:35:00 +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: marxin 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: Wed, 03 Jun 2020 06:35:00 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95348 --- 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 zero > and delete the entire file whose counter is zero? 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 prof= ile for a function. One another solution could be the usage of gzip that can shrink file sizes ~10x. That will be beneficial in situation where you don't merge profiles. How exactly do you merge profiles? Do you run parallel invocation which can take log2(N)?=