x86/unwind/orc: Add 'signal' field to ORC metadata
Add a 'signal' field which allows unwind hints to specify whether the instruction pointer should be taken literally (like for most interrupts and exceptions) rather than decremented (like for call stack return addresses) when used to find the next ORC entry. Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/d2c5ec4d83a45b513d8fd72fab59f1a8cfa46871.1676068346.git.jpoimboe@kernel.org
This commit is contained in:
committed by
Ingo Molnar
parent
a20717aca3
commit
ffb1b4a410
@@ -211,8 +211,8 @@ int orc_dump(const char *_objname)
|
||||
|
||||
print_reg(orc[i].bp_reg, bswap_if_needed(&dummy_elf, orc[i].bp_offset));
|
||||
|
||||
printf(" type:%s end:%d\n",
|
||||
orc_type_name(orc[i].type), orc[i].end);
|
||||
printf(" type:%s signal:%d end:%d\n",
|
||||
orc_type_name(orc[i].type), orc[i].signal, orc[i].end);
|
||||
}
|
||||
|
||||
elf_end(elf);
|
||||
|
||||
Reference in New Issue
Block a user