https://sourceware.org/bugzilla/show_bug.cgi?id=29282

            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:
1.Get func address from /proc/kallsyms.
2.Use eu-addr2line -k <address> to get file name and line number.
Compare the line number with source file,and we find the line number 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 <a...@arndb.de>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to