diff options
author | 2014-11-28 05:26:35 +0000 | |
---|---|---|
committer | 2014-11-28 10:24:13 +0000 | |
commit | 1014c81d9a5546b64352c04cdb93494aceb317fc (patch) | |
tree | e587ed27bb5651cbf6571fd804f479b0618c063c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | arm64: ptrace: add NT_ARM_SYSTEM_CALL regset (diff) | |
download | wireguard-linux-1014c81d9a5546b64352c04cdb93494aceb317fc.tar.xz wireguard-linux-1014c81d9a5546b64352c04cdb93494aceb317fc.zip |
arm64: ptrace: allow tracer to skip a system call
If tracer modifies a syscall number to -1, this traced system call should
be skipped with a return value specified in x0.
This patch implements this semantics.
Please note:
* syscall entry tracing and syscall exit tracing (ftrace tracepoint and
audit) are always executed, if enabled, even when skipping a system call
(that is, -1).
In this way, we can avoid a potential bug where audit_syscall_entry()
might be called without audit_syscall_exit() at the previous system call
being called, that would cause OOPs in audit_syscall_entry().
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
[will: fixed up conflict with blr rework]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions