linux_dsm_epyc7002/arch/arm64/include
Masami Hiramatsu a823c35ff2 arm64: ptrace: Add function argument access API
Add regs_get_argument() which returns N th argument of the function
call. On arm64, it supports up to 8th argument.
Note that this chooses most probably assignment, in some case
it can be incorrect (e.g. passing data structure or floating
point etc.)

This enables ftrace kprobe events to access kernel function
arguments via $argN syntax.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
[will: tidied up the comment a bit]
Signed-off-by: Will Deacon <will.deacon@arm.com>
2019-04-12 17:04:27 +01:00
..
asm arm64: ptrace: Add function argument access API 2019-04-12 17:04:27 +01:00
uapi/asm kbuild: force all architectures except um to include mandatory-y 2019-03-17 12:56:32 +09:00