From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B2BA6385828D; Wed, 3 Aug 2022 15:30:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B2BA6385828D From: "leo at yuriev dot ru" To: glibc-bugs@sourceware.org Subject: [Bug libc/29438] enabling gmon for arbitrary DSO Date: Wed, 03 Aug 2022 15:30:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: leo at yuriev dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2022 15:30:39 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29438 --- Comment #1 from Leo Yuriev --- I have a working draft of the patch ready, along with the tests. However, during testing, a nasty bug was found in calculating the size of t= he allocated buffer inside the `__monstartup()`, which is why `_mcount()` may corrupt memory, and `write_call_graph()` does not output part of the collec= ted data (which falls outside the border). So I'll fill one more bug with a patch, and then come back here. --=20 You are receiving this mail because: You are on the CC list for the bug.=