1 #define OVERRIDE_32_sys_execve
2 #define OVERRIDE_64_sys_execve
4 #ifndef CREATE_SYSCALL_TABLE
6 SC_TRACE_EVENT(sys_execve
,
7 TP_PROTO(const char *filename
, char *const *argv
, char *const *envp
),
8 TP_ARGS(filename
, argv
, envp
),
9 TP_STRUCT__entry(__string_from_user(filename
, filename
)
10 __field_hex(char *const *, argv
)
11 __field_hex(char *const *, envp
)),
12 TP_fast_assign(tp_copy_string_from_user(filename
, filename
)
14 tp_assign(envp
, envp
)),
18 SC_TRACE_EVENT(sys_clone
,
19 TP_PROTO(unsigned long clone_flags
, unsigned long newsp
,
20 void __user
*parent_tid
,
21 void __user
*child_tid
),
22 TP_ARGS(clone_flags
, newsp
, parent_tid
, child_tid
),
24 __field_hex(unsigned long, clone_flags
)
25 __field_hex(unsigned long, newsp
)
26 __field_hex(void *, parent_tid
)
27 __field_hex(void *, child_tid
)),
29 tp_assign(clone_flags
, clone_flags
)
30 tp_assign(newsp
, newsp
)
31 tp_assign(parent_tid
, parent_tid
)
32 tp_assign(child_tid
, child_tid
)),
36 /* present in 32, missing in 64 due to old kernel headers */
37 #define OVERRIDE_32_sys_getcpu
38 #define OVERRIDE_64_sys_getcpu
39 SC_TRACE_EVENT(sys_getcpu
,
40 TP_PROTO(unsigned __user
*cpup
, unsigned __user
*nodep
, void *tcache
),
41 TP_ARGS(cpup
, nodep
, tcache
),
43 __field_hex(unsigned *, cpup
)
44 __field_hex(unsigned *, nodep
)
45 __field_hex(void *, tcache
)),
48 tp_assign(nodep
, nodep
)
49 tp_assign(tcache
, tcache
)),
53 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.07043 seconds and 4 git commands to generate.