Max Filippov af5395c214 xtensa: implement syscall tracepoints
Add TIF_SYSCALL_TRACEPOINT flag definition; add _TIF_SYSCALL_TRACEPOINT
to _TIF_WORK_MASK. Call trace_sys_enter from do_syscall_trace_enter and
trace_sys_exit from do_syscall_trace_leave when TIF_SYSCALL_TRACEPOINT
flag is set.
Add declaration of sys_call_table to arch/xtensa/include/asm/syscall.h
Add definition of NR_syscalls to arch/xtensa/include/asm/unistd.h
Select HAVE_SYSCALL_TRACEPOINTS.

This change allows tracing each syscall entry and exit through the
ftrace mechanism.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2018-12-17 13:50:25 -08:00
..
2016-01-12 20:46:58 +02:00
2016-07-24 06:33:29 +03:00
2018-06-15 18:10:01 -03:00
2015-08-17 07:33:39 +03:00
2014-01-15 00:28:11 +04:00
2018-12-17 13:48:22 -08:00
2018-12-05 12:53:07 -08:00
2018-08-20 12:28:05 -07:00
2018-02-11 09:18:12 -08:00
2017-12-16 22:37:10 -08:00
2014-01-14 10:19:58 -08:00
2014-01-14 10:19:58 -08:00
2017-12-16 22:37:10 -08:00
2018-06-07 12:45:58 -07:00
2014-01-15 00:27:03 +04:00
2018-12-17 13:50:25 -08:00
2014-01-14 10:19:59 -08:00
2018-01-02 03:25:41 -08:00
2018-12-17 13:50:25 -08:00