From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EA0093858CD1; Sun, 12 Nov 2023 14:46:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA0093858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699800366; bh=W6yvM8dTuaAcGWBRi3Da/m5LCOFi8V/Xjacqys0QT5M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Iv+ZKitl+7AgCL1l+PaBQsVHgYTqW4rjrkaHLd6xJzxgzr/nCfkZrFGoZicgoREUd VNwTWQpWmfKq9+6l1JClnpG/0W7eRntvDnmHydJ7jmgIdAroLg9feABdXNqJMwEDtq pXGFZcLQ8imBdWPy90rGLQO7aK7y4SN9nKjpX0ho= From: "aditya24.garg at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/31048] GDB commands very slow due to too many lseek calls Date: Sun, 12 Nov 2023 14:46:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aditya24.garg at gmail dot com 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31048 --- Comment #5 from Aditya Garg --- Why i thought the issue was due to LSEEK is because while i was waiting for ptype command to show result, all i could see in strace was LSEEK to the sa= me offset. For now, i used a brute force approach to solving this. Commented out certa= in parts of code to see if things are improving. Luckily, when i remove BOOST_FORCEINLINE from class member functions, things got back to normal. Does anyone has any idea why force inlining could slow down GDB? --=20 You are receiving this mail because: You are on the CC list for the bug.=