From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D5F22385782B; Thu, 5 Nov 2020 00:29:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D5F22385782B From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/26844] off-by-one error in the output of sprint_ubacktrace() Date: Thu, 05 Nov 2020 00:29:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: agentzh at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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, 05 Nov 2020 00:29:34 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26844 --- Comment #2 from agentzh --- Using `sprint_backtrace()` is the same thing: ``` $ stap -d kernel -e 'probe oneshot { printf("{\%s}\n", sprint_backtrace()) = }' {0xffffffffc1d8994b [stap_f56de473ef304e53bfb082b091cabf8_15711+0x894b] 0xffffffffc1d898ca [stap_f56de473ef304e53bfb082b091cabf8_15711+0x88ca] (inexact)} ``` --=20 You are receiving this mail because: You are the assignee for the bug.=