1 #ifndef CREATE_SYSCALL_TABLE
3 #define OVERRIDE_32_sched_setaffinity
4 SC_LTTNG_TRACEPOINT_EVENT(sched_setaffinity
,
5 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
6 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
7 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(unsigned int, len
, len
)) sc_in(ctf_integer(unsigned long *, user_mask_ptr
, user_mask_ptr
)))
10 #define OVERRIDE_32_sched_getaffinity
11 SC_LTTNG_TRACEPOINT_EVENT(sched_getaffinity
,
12 TP_PROTO(sc_exit(long ret
,) pid_t pid
, unsigned int len
, unsigned long * user_mask_ptr
),
13 TP_ARGS(sc_exit(ret
,) pid
, len
, user_mask_ptr
),
14 TP_FIELDS(sc_exit(ctf_integer(long, ret
, ret
)) sc_in(ctf_integer(pid_t
, pid
, pid
)) sc_in(ctf_integer(unsigned int, len
, len
)) sc_out(ctf_integer(unsigned long *, user_mask_ptr
, user_mask_ptr
)))
17 #else /* CREATE_SYSCALL_TABLE */
19 #define OVERRIDE_TABLE_32_clone
20 TRACE_SYSCALL_TABLE(clone
, clone
, 4120, 0)
22 #define OVERRIDE_TABLE_32_sys_sched_setaffinity
23 TRACE_SYSCALL_TABLE(sched_setaffinity
, sched_setaffinity
, 4239, 3)
25 #define OVERRIDE_TABLE_32_sys_sched_getaffinity
26 TRACE_SYSCALL_TABLE(sched_getaffinity
, sched_getaffinity
, 4240, 3)
28 #endif /* CREATE_SYSCALL_TABLE */
This page took 0.02966 seconds and 4 git commands to generate.