]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Implementation for tracing stub-based system calls. Due to the need for
authorKris Van Hees <kris.van.hees@oracle.com>
Thu, 27 Oct 2011 14:39:19 +0000 (10:39 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Thu, 27 Oct 2011 14:39:19 +0000 (10:39 -0400)
commit4b90d66bb9118ccc7de04a1041acaad85a142417
tree5df8e2172f7a6e10ba729a5a77407f0c6c58f8de
parent30ea7300236e3e202a3ca06eb3b8be621d50fa22
Implementation for tracing stub-based system calls.  Due to the need for
specialized code handling (mainly passing in a pt_regs structure as one of
the arguments), some syscalls are called through a stub in assembly code.
We duplicate the stub cdode in dtrace_stubs_x86_64.S, but instead of calling
the actual syscall implementation code call our own syscall-specific handler,
which ensures that entry and return probes are called as enabled, and then
call the underlying implementation directly for handling the syscall.

Also removed debugging output that is no longer relevant (code cleanup).

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
dtrace/dtrace_dev.c
dtrace/dtrace_ecb.c
dtrace/dtrace_isa.c
dtrace/dtrace_probe.c
dtrace/dtrace_ptofapi.c
dtrace/dtrace_spec.c
dtrace/dtrace_state.c
dtrace/profile_dev.c
dtrace/systrace_dev.c