public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Question] About UNWIND_HINT_ENTRY on entry_SYSCALL_64.
@ 2022-11-25 10:41 Yun Levi
  2022-11-25 13:06 ` Peter Zijlstra
  0 siblings, 1 reply; 4+ messages in thread
From: Yun Levi @ 2022-11-25 10:41 UTC (permalink / raw)
  To: jpoimboe, peterz; +Cc: Linux Kernel Mailing List

Hello.

While I try to see the information related to ORC in vmlinux,
I'm trying to find out ORC information related to entry_SYSCALL_64's address.

For this, I've tried to take the following step:
    1. booting the kernel with the "nokaslr" option.
    2. Getting ORC information by "objdump orc dump vmlinux"
    3. cat /proc/kallsyms and check the address of "entry_SYSCALL_64"
          - In my kernel, It's address .text + a00000
    4. Find out related ORC entry gotten in step 2.

But, I couldn't find the reason why entry_SYSCALL_64's orc info isn't
encoded with end =1.
Instead, It was encoded as INVALID ORC entry like:

  .text+a00000: sp:(und) bp:(und) type:call end:0

IIUC, Some of the code is started with UNWIND_HINT_ENTRY or UNWIND_HINT_EMPTY,
it should be encoded with end = 1. But it doesn't.

Am I wrong?


-- 
Sincerely,
Levi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-05  9:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-25 10:41 [Question] About UNWIND_HINT_ENTRY on entry_SYSCALL_64 Yun Levi
2022-11-25 13:06 ` Peter Zijlstra
2022-11-28  5:31   ` Yun Levi
2022-12-05  9:05     ` Yun Levi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox