45da2ad32c03d5d2882ca64b38d8f27558553eb0
2 #define TRACE_SYSTEM syscalls_unknown
4 #if !defined(_TRACE_SYSCALLS_UNKNOWN_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_SYSCALLS_UNKNOWN_H
7 #include <linux/tracepoint.h>
8 #include <linux/syscalls.h>
10 #define UNKNOWN_SYSCALL_NRARGS 6
12 TRACE_EVENT(sys_unknown
,
13 TP_PROTO(unsigned int id
, unsigned long *args
),
16 __field(unsigned int, id
)
17 __array(unsigned long, args
, UNKNOWN_SYSCALL_NRARGS
)
21 tp_memcpy(args
, args
, UNKNOWN_SYSCALL_NRARGS
* sizeof(*args
))
26 * This is going to hook on sys_exit in the kernel.
27 * We change the name so we don't clash with the sys_exit syscall entry
30 TRACE_EVENT(exit_syscall
,
31 TP_PROTO(struct pt_regs
*regs
, long errno
),
37 tp_assign(errno
, errno
)
42 #endif /* _TRACE_SYSCALLS_UNKNOWN_H */
44 /* This part must be outside protection */
45 #include "../../../probes/define_trace.h"
This page took 0.056407 seconds and 4 git commands to generate.