tracehook: asm/syscall.h
commit828c365cc8b8d38c346fccb19fa80d28f2240831
authorRoland McGrath <roland@redhat.com>
Sat, 26 Jul 2008 02:45:57 +0000 (25 19:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:09 +0000 (26 12:00 -0700)
treecedb0f1ce389f4b12d7b0975ce52c8af7939cfcd
parent64b1208d5b0ef8859fd52ea7ae286a3eb994669b
tracehook: asm/syscall.h

This adds asm-generic/syscall.h, which documents what a real
asm-ARCH/syscall.h file should define.  This is not used yet, but will
provide all the machine-dependent details of examining a user system call
about to begin, in progress, or just ended.

Each arch should add an asm-ARCH/syscall.h that defines all the entry
points documented in asm-generic/syscall.h, as short inlines if possible.
This lets us write new tracing code that understands user system call
registers, without any new arch-specific work.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/syscall.h [new file with mode: 0644]
include/linux/tracehook.h