1 #ifndef SYS_socket_subcall
2 # error SYS_socket_subcall is not defined
3 #endif
4 
5 #define IS	TRACE_INDIRECT_SUBCALL
6 
7 [SYS_socket_subcall +  0] = { 6,	0,		printargs,			"socket_subcall"	},
8 [SYS_socket_subcall +  1] = { 3,	IS|TN,		sys_socket,			"socket"		},
9 [SYS_socket_subcall +  2] = { 3,	IS|TN,		sys_bind,			"bind"			},
10 [SYS_socket_subcall +  3] = { 3,	IS|TN,		sys_connect,			"connect"		},
11 [SYS_socket_subcall +  4] = { 2,	IS|TN,		sys_listen,			"listen"		},
12 [SYS_socket_subcall +  5] = { 3,	IS|TN,		sys_accept,			"accept"		},
13 [SYS_socket_subcall +  6] = { 3,	IS|TN,		sys_getsockname,		"getsockname"		},
14 [SYS_socket_subcall +  7] = { 3,	IS|TN,		sys_getpeername,		"getpeername"		},
15 [SYS_socket_subcall +  8] = { 4,	IS|TN,		sys_socketpair,			"socketpair"		},
16 [SYS_socket_subcall +  9] = { 4,	IS|TN,		sys_send,			"send"			},
17 [SYS_socket_subcall + 10] = { 4,	IS|TN,		sys_recv,			"recv"			},
18 [SYS_socket_subcall + 11] = { 6,	IS|TN,		sys_sendto,			"sendto"		},
19 [SYS_socket_subcall + 12] = { 6,	IS|TN,		sys_recvfrom,			"recvfrom"		},
20 [SYS_socket_subcall + 13] = { 2,	IS|TN,		sys_shutdown,			"shutdown"		},
21 [SYS_socket_subcall + 14] = { 5,	IS|TN,		sys_setsockopt,			"setsockopt"		},
22 [SYS_socket_subcall + 15] = { 5,	IS|TN,		sys_getsockopt,			"getsockopt"		},
23 [SYS_socket_subcall + 16] = { 3,	IS|TN,		sys_sendmsg,			"sendmsg"		},
24 [SYS_socket_subcall + 17] = { 3,	IS|TN,		sys_recvmsg,			"recvmsg"		},
25 [SYS_socket_subcall + 18] = { 4,	IS|TN,		sys_accept4,			"accept4"		},
26 [SYS_socket_subcall + 19] = { 5,	IS|TN,		sys_recvmmsg,			"recvmmsg"		},
27 [SYS_socket_subcall + 20] = { 4,	IS|TN,		sys_sendmmsg,			"sendmmsg"		},
28 
29 #define SYS_socket_nsubcalls	21
30 #define SYS_ipc_subcall	((SYS_socket_subcall) + (SYS_socket_nsubcalls))
31 
32 [SYS_ipc_subcall +  0] = { 6,	0,		printargs,			"ipc_subcall"		},
33 [SYS_ipc_subcall +  1] = { 4,	IS|TI,		sys_semop,			"semop"			},
34 [SYS_ipc_subcall +  2] = { 3,	IS|TI,		sys_semget,			"semget"		},
35 [SYS_ipc_subcall +  3] = { 4,	IS|TI,		sys_semctl,			"semctl"		},
36 [SYS_ipc_subcall +  4] = { 5,	IS|TI,		sys_semtimedop,			"semtimedop"		},
37 [SYS_ipc_subcall +  5] = { 6,	0,		printargs,			"ipc_subcall"		},
38 [SYS_ipc_subcall +  6] = { 6,	0,		printargs,			"ipc_subcall"		},
39 [SYS_ipc_subcall +  7] = { 6,	0,		printargs,			"ipc_subcall"		},
40 [SYS_ipc_subcall +  8] = { 6,	0,		printargs,			"ipc_subcall"		},
41 [SYS_ipc_subcall +  9] = { 6,	0,		printargs,			"ipc_subcall"		},
42 [SYS_ipc_subcall + 10] = { 6,	0,		printargs,			"ipc_subcall"		},
43 [SYS_ipc_subcall + 11] = { 4,	IS|TI,		sys_msgsnd,			"msgsnd"		},
44 [SYS_ipc_subcall + 12] = { 4,	IS|TI,		sys_msgrcv,			"msgrcv"		},
45 [SYS_ipc_subcall + 13] = { 2,	IS|TI,		sys_msgget,			"msgget"		},
46 [SYS_ipc_subcall + 14] = { 4,	IS|TI,		sys_msgctl,			"msgctl"		},
47 [SYS_ipc_subcall + 15] = { 6,	0,		printargs,			"ipc_subcall"		},
48 [SYS_ipc_subcall + 16] = { 6,	0,		printargs,			"ipc_subcall"		},
49 [SYS_ipc_subcall + 17] = { 6,	0,		printargs,			"ipc_subcall"		},
50 [SYS_ipc_subcall + 18] = { 6,	0,		printargs,			"ipc_subcall"		},
51 [SYS_ipc_subcall + 19] = { 6,	0,		printargs,			"ipc_subcall"		},
52 [SYS_ipc_subcall + 20] = { 6,	0,		printargs,			"ipc_subcall"		},
53 [SYS_ipc_subcall + 21] = { 4,	IS|TI|TM|SI,	sys_shmat,			"shmat"			},
54 [SYS_ipc_subcall + 22] = { 4,	IS|TI|TM|SI,	sys_shmdt,			"shmdt"			},
55 [SYS_ipc_subcall + 23] = { 3,	IS|TI,		sys_shmget,			"shmget"		},
56 [SYS_ipc_subcall + 24] = { 4,	IS|TI,		sys_shmctl,			"shmctl"		},
57 
58 #define SYS_ipc_nsubcalls	25
59 
60 #undef IS
61