From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C8761383F84C; Thu, 7 May 2020 03:26:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C8761383F84C From: "mark at klomp dot org" To: systemtap@sourceware.org Subject: [Bug translator/25549] Systemtap unable to find many probe points available in code compiled with LTO enable Date: Thu, 07 May 2020 03:26:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap 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: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2020 03:26:02 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25549 --- Comment #5 from Mark Wielaard --- I cannot replicate the issue. Using g++ (GCC) 10.0.1 20200430 (Red Hat 10.0.1-0.13) the example from Comment #1 seems to work as intended, even wh= en compiled with LTO: $ g++ -o pr25549 -g -O2 -flto pr25549.cxx $ stap -L 'process("./pr25549").statement("main@*:*")' process("/opt/home/mark/systemtap/pr25549").statement("main@/home/mark/syst= emtap/pr25549.cxx:4") $argc:int $argv:char** process("/opt/home/mark/systemtap/pr25549").statement("main@/home/mark/syst= emtap/pr25549.cxx:6") $argc:int $argv:char** Could someone attach a pr25549 binary which fails? --=20 You are receiving this mail because: You are the assignee for the bug.=