]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: syscall entry/return probes.
authorKris Van Hees <kris.van.hees@oracle.com>
Wed, 31 Aug 2011 03:28:03 +0000 (23:28 -0400)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:39:54 +0000 (22:39 +0100)
commite61d708aa6cd6179fde3204358d2c36983952027
treefe7264a16a33cd7b99fcec97e12bca4e8f450e96
parentc8d6ef1f2e7b3807544532b2011628fb0b690ab8
dtrace: syscall entry/return probes.

Makes the sys call table writable, and replaces the function pointer
for select syscalls with the address of a wrapper function to enable
entry and return probe firing.

Fix for address range checking for copyin(str) operations and relatives.
It was using an incorrect boundary address, causing problems for some cases.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
arch/x86/include/asm/syscall.h
arch/x86/kernel/syscall_64.c
kernel/dtrace/dtrace_os.c