[PATCH 08/25] sparc: mark system calls with CI and CE

Masatake YAMATO yamato at redhat.com
Sun Nov 10 06:42:04 UTC 2013


In v3 mark CE on _exit and exit_group.

Signed-off-by: Masatake YAMATO <yamato at redhat.com>
---
 linux/sparc/syscallent.h  | 24 ++++++++++++------------
 linux/sparc/syscallent1.h | 18 +++++++++---------
 2 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h
index d5df8e1..dfb9f4f 100644
--- a/linux/sparc/syscallent.h
+++ b/linux/sparc/syscallent.h
@@ -1,5 +1,5 @@
 	{ 0,	0,	sys_restart_syscall, "restart_syscall" },/* 0 */
-	{ 1,	TP,	sys_exit,	"exit" },		/* 1 */
+	{ 1,	TP|CE,	sys_exit,	"exit" },		/* 1 */
 	{ 0,	TP,	sys_fork,	"fork" },		/* 2 */
 	{ 3,	TD,	sys_read,	"read" },		/* 3 */
 	{ 3,	TD,	sys_write,	"write" },		/* 4 */
@@ -15,7 +15,7 @@
 	{ 3,	TF,	sys_mknod,	"mknod" },		/* 14 */
 	{ 2,	TF,	sys_chmod,	"chmod" },		/* 15 */
 	{ 3,	TF,	sys_chown,	"lchown" },		/* 16 */
-	{ 1,	TM,	sys_brk,	"brk" },		/* 17 */
+	{ 1,	TM|CI,	sys_brk,	"brk" },		/* 17 */
 	{ 4,	0,	printargs,	"perfctr" },		/* 18 */
 	{ 3,	TD,	sys_lseek,	"lseek" },		/* 19 */
 	{ 0,	0,	sys_getpid,	"getpid" },		/* 20 */
@@ -54,10 +54,10 @@
 	{ 0,	NF,	sys_getgid,	"getgid32" },		/* 53 */
 	{ 3,	TD,	sys_ioctl,	"ioctl" },		/* 54 */
 	{ 4,	0,	sys_reboot,	"reboot" },		/* 55 */
-	{ 6,	TD|TM,	sys_mmap,	"mmap2" },		/* 56 */
+	{ 6,	TD|TM|CI,sys_mmap,	"mmap2" },		/* 56 */
 	{ 2,	TF,	sys_symlink,	"symlink" },		/* 57 */
 	{ 3,	TF,	sys_readlink,	"readlink" },		/* 58 */
-	{ 3,	TF|TP,	sys_execve,	"execve" },		/* 59 */
+	{ 3,	TF|TP|CI|CE,sys_execve,	"execve" },		/* 59 */
 	{ 1,	0,	sys_umask,	"umask" },		/* 60 */
 	{ 1,	TF,	sys_chroot,	"chroot" },		/* 61 */
 	{ 2,	TD,	sys_fstat,	"fstat" },		/* 62 */
@@ -69,10 +69,10 @@
 	{ 5,	TD,	sys_pwrite,	"pwrite" },		/* 68 */
 	{ 0,    NF,	sys_geteuid,	"geteuid32" },		/* 69 */
 	{ 0,	NF,	sys_getegid,	"getegid32" },		/* 70 */
-	{ 6,	TD|TM,	sys_mmap,	"mmap" },		/* 71 */
+	{ 6,	TD|TM|CI,sys_mmap,	"mmap" },		/* 71 */
 	{ 2,	0,	sys_setreuid,	"setreuid32" },		/* 72 */
-	{ 2,	TM,	sys_munmap,	"munmap" },		/* 73 */
-	{ 3,	TM,	sys_mprotect,	"mprotect" },		/* 74 */
+	{ 2,	TM|CI,	sys_munmap,	"munmap" },		/* 73 */
+	{ 3,	TM|CI,	sys_mprotect,	"mprotect" },		/* 74 */
 	{ 3,	TM,	sys_madvise,	"madvise" },		/* 75 */
 	{ 0,	0,	sys_vhangup,	"vhangup" },		/* 76 */
 	{ 3,	TF,	sys_truncate64,	"truncate64" },		/* 77 */
@@ -186,11 +186,11 @@
 	{ 2,	0,	sys_setpgid,	"setpgid" },		/* 185 */
 	{ 2,	TD,	sys_fremovexattr,"fremovexattr" },	/* 186 */
 	{ 2,	TS,	sys_kill,	"tkill" },		/* 187 */
-	{ 1,	TP,	sys_exit,	"exit_group" },		/* 188 */
+	{ 1,	TP|CE,	sys_exit,	"exit_group" },		/* 188 */
 	{ 1,	0,	sys_uname,	"uname" },		/* 189 */
 	{ 3,	0,	sys_init_module,"init_module" },	/* 190 */
 	{ 1,	0,	sys_personality,"personality" },	/* 191 */
-	{ 5,	TM,	sys_remap_file_pages,"remap_file_pages" },/* 192 */
+	{ 5,	TM|CI,	sys_remap_file_pages,"remap_file_pages" },/* 192 */
 	{ 1,	TD,	sys_epoll_create,"epoll_create" },	/* 193 */
 	{ 4,	TD,	sys_epoll_ctl,	"epoll_ctl" },		/* 194 */
 	{ 4,	TD,	sys_epoll_wait,	"epoll_wait" },		/* 195 */
@@ -248,7 +248,7 @@
 	{ 1,	0,	sys_sched_get_priority_min,"sched_get_priority_min"},/* 247 */
 	{ 2,	0,	sys_sched_rr_get_interval,"sched_rr_get_interval"},/* 248 */
 	{ 2,	0,	sys_nanosleep,	"nanosleep" },		/* 249 */
-	{ 5,	TM,	sys_mremap,	"mremap" },		/* 250 */
+	{ 5,	TM|CI,	sys_mremap,	"mremap" },		/* 250 */
 	{ 1,	0,	sys_sysctl,	"_sysctl" },		/* 251 */
 	{ 1,	0,	sys_getsid,	"getsid" },		/* 252 */
 	{ 1,	TD,	sys_fdatasync,	"fdatasync" },		/* 253 */
@@ -397,8 +397,8 @@
 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 391 */
 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 392 */
 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 393 */
-	{ 4,	TI,	sys_shmat,		"shmat"		}, /* 394 */
-	{ 4,	TI,	sys_shmdt,		"shmdt"		}, /* 395 */
+	{ 4,	TI|CI,	sys_shmat,		"shmat"		}, /* 394 */
+	{ 4,	TI|CI,	sys_shmdt,		"shmdt"		}, /* 395 */
 	{ 4,	TI,	sys_shmget,		"shmget"	}, /* 396 */
 	{ 4,	TI,	sys_shmctl,		"shmctl"	}, /* 397 */
 	{ 5,	0,	NULL,			NULL		}, /* 398 */
diff --git a/linux/sparc/syscallent1.h b/linux/sparc/syscallent1.h
index 9519e08..dc604b1 100644
--- a/linux/sparc/syscallent1.h
+++ b/linux/sparc/syscallent1.h
@@ -26,7 +26,7 @@
  */
 
 	{ 6,	0,	solaris_syscall,	"syscall"	}, /* 0 */
-	{ 6,	TP,	solaris_exit,		"_exit"		}, /* 1 */
+	{ 6,	TP|CE,	solaris_exit,		"_exit"		}, /* 1 */
 	{ 6,	TP,	solaris_fork,		"fork"		}, /* 2 */
 	{ 6,	0,	solaris_read,		"read"		}, /* 3 */
 	{ 6,	0,	solaris_write,		"write"		}, /* 4 */
@@ -42,7 +42,7 @@
 	{ 6,	TF,	solaris_mknod,		"mknod"		}, /* 14 */
 	{ 6,	TF,	solaris_chmod,		"chmod"		}, /* 15 */
 	{ 6,	TF,	solaris_chown,		"chown"		}, /* 16 */
-	{ 6,	0,	solaris_brk,		"brk"		}, /* 17 */
+	{ 6,	CI,	solaris_brk,		"brk"		}, /* 17 */
 	{ 6,	TF,	solaris_stat,		"stat"		}, /* 18 */
 	{ 6,	0,	solaris_lseek,		"lseek"		}, /* 19 */
 	{ 6,	0,	solaris_getpid,		"getpid"	}, /* 20 */
@@ -84,7 +84,7 @@
 	{ 6,	0,	solaris_sysmp,		"sysmp"		}, /* 56 */
 	{ 6,	0,	solaris_utssys,		"utssys"	}, /* 57 */
 	{ 6,	0,	solaris_fdsync,		"fdsync"	}, /* 58 */
-	{ 6,	TF|TP,	solaris_execve,		"execve"	}, /* 59 */
+	{ 6,	TF|TP|CI|CE,solaris_execve,	"execve"	}, /* 59 */
 	{ 6,	0,	solaris_umask,		"umask"		}, /* 60 */
 	{ 6,	TF,	solaris_chroot,		"chroot"	}, /* 61 */
 	{ 6,	0,	solaris_fcntl,		"fcntl"		}, /* 62 */
@@ -140,9 +140,9 @@
 	{ 6,	0,	solaris_priocntlsys,	"priocntlsys"	}, /* 112 */
 	{ 6,	TF,	solaris_pathconf,	"pathconf"	}, /* 113 */
 	{ 6,	0,	solaris_mincore,	"mincore"	}, /* 114 */
-	{ 6,	TD|TM,	solaris_mmap,		"mmap"		}, /* 115 */
-	{ 6,	0,	solaris_mprotect,	"mprotect"	}, /* 116 */
-	{ 6,	0,	solaris_munmap,		"munmap"	}, /* 117 */
+	{ 6,	TD|TM|CI,solaris_mmap,		"mmap"		}, /* 115 */
+	{ 6,	CI,	solaris_mprotect,	"mprotect"	}, /* 116 */
+	{ 6,	CI,	solaris_munmap,		"munmap"	}, /* 117 */
 	{ 6,	0,	solaris_fpathconf,	"fpathconf"	}, /* 118 */
 	{ 6,	TP,	solaris_vfork,		"vfork"		}, /* 119 */
 	{ 6,	0,	solaris_fchdir,		"fchdir"	}, /* 120 */
@@ -185,7 +185,7 @@
 	{ 6,	0,	solaris_getitimer,	"getitimer"	}, /* 157 */
 	{ 6,	0,	solaris_setitimer,	"setitimer"	}, /* 158 */
 	{ 6,	0,	solaris_lwp_create,	"lwp_create"	}, /* 159 */
-	{ 6,	0,	solaris_lwp_exit,	"lwp_exit"	}, /* 160 */
+	{ 6,	CE,	solaris_lwp_exit,	"lwp_exit"	}, /* 160 */
 	{ 6,	0,	solaris_lwp_suspend,	"lwp_suspend"	}, /* 161 */
 	{ 6,	0,	solaris_lwp_continue,	"lwp_continue"	}, /* 162 */
 	{ 6,	0,	solaris_lwp_kill,	"lwp_kill"	}, /* 163 */
@@ -359,9 +359,9 @@
 	{ 6,	0,	NULL,			NULL		}, /* 328 */
 	{ 6,	0,	NULL,			NULL		}, /* 329 */
 
-	{ 6,	TI,	solaris_shmat,		"shmat"		}, /* 330 */
+	{ 6,	TI|CI,	solaris_shmat,		"shmat"		}, /* 330 */
 	{ 6,	TI,	solaris_shmctl,		"shmctl"	}, /* 331 */
-	{ 6,	TI,	solaris_shmdt,		"shmdt"		}, /* 332 */
+	{ 6,	TI|CI,	solaris_shmdt,		"shmdt"		}, /* 332 */
 	{ 6,	TI,	solaris_shmget,		"shmget"	}, /* 333 */
 	{ 6,	0,	NULL,			NULL		}, /* 334 */
 	{ 6,	0,	NULL,			NULL		}, /* 335 */
-- 
1.8.3.1





More information about the Strace-devel mailing list