trace: [*-user] Add events to trace guest syscalls in syscall emulation mode
commit9c15e70086f3343bd810c6150d92ebfd6f346fcf
authorLluís Vilanova <vilanova@ac.upc.edu>
Tue, 21 Jun 2016 13:52:04 +0000 (21 15:52 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 28 Jun 2016 20:14:12 +0000 (28 21:14 +0100)
treebdd17dcf3a603d844b208038f333f0bf8de6fe6f
parent06a1e0c197ec631a2a3e47a803c52609a8405f69
trace: [*-user] Add events to trace guest syscalls in syscall emulation mode

Adds two events to trace syscalls in syscall emulation mode (*-user):

* guest_user_syscall: Emitted before the syscall is emulated; contains
  the syscall number and arguments.

* guest_user_syscall_ret: Emitted after the syscall is emulated;
  contains the syscall number and return value.

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Message-id: 146651712411.12388.10024905980452504938.stgit@fimbulvetr.bsc.es
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
bsd-user/syscall.c
linux-user/syscall.c
trace-events