Use ftrace_get_regs() helper call to get pt_regs from ftrace_regs struct, this makes the code simpler. Signed-off-by: Nanyong Sun <sunnanyong@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com> |
||
---|---|---|
.. | ||
decode-insn.c | ||
decode-insn.h | ||
ftrace.c | ||
kprobes_trampoline.S | ||
kprobes.c | ||
Makefile | ||
simulate-insn.c | ||
simulate-insn.h | ||
uprobes.c |