From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 374B13856DEB; Fri, 24 Jun 2022 00:16:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 374B13856DEB From: "panxh_ran at 163 dot com" To: elfutils-devel@sourceware.org Subject: [Bug tools/29282] New: eu-addr2line -k doesn't display correct file:line in arm. Date: Fri, 24 Jun 2022 00:16:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: tools X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: panxh_ran at 163 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2022 00:16:50 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29282 Bug ID: 29282 Summary: eu-addr2line -k doesn't display correct file:line in arm. Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: unassigned at sourceware dot org Reporter: panxh_ran at 163 dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- Hello, when using eu-addr2line -k to get line infomation of kernel symbols,= it often displays wrong file:line in arm. Steps=EF=BC=9A 1.Get func address from /proc/kallsyms. 2.Use eu-addr2line -k
to get file name and line number. Compare the line number with source file=EF=BC=8Cand we find the line numbe= r is wrong. It seems that the following kernel commit that adds NOPs at function entry causes the problem. Elfutils needs to adapt this feature. > Fixes: 3b23e4991fb6 ("arm64: implement ftrace with regs") > Signed-off-by: Arnd Bergmann --=20 You are receiving this mail because: You are on the CC list for the bug.=