aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2019-04-12 23:22:01 +0900
committerWill Deacon <[email protected]>2019-04-12 17:04:27 +0100
commita823c35ff2eda73046cc1847326071de350fceda (patch)
treec1e5fa47ee4c105168ad1fbc08529f85e785a110 /tools/perf/scripts/python/export-to-postgresql.py
parent691efbedc60d2a7364a90e38882fc762f06f52c4 (diff)
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 <[email protected]> [will: tidied up the comment a bit] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions