Working on -e trace
haris iqbal
haris.phnx at gmail.com
Fri Mar 11 09:31:58 UTC 2016
commit fd2267ac2607215da110663b2beb9bae97c98bed
Author: student <haris.phnx at gmail.com>
Date: Fri Mar 11 15:00:23 2016 +0530
Added -e trace=scheduler option for tracing scheduler related syscalls.
diff --git a/NEWS b/NEWS
index 7779f65..2f59faa 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,7 @@ Noteworthy changes in release ?.?? (????-??-??)
spent in decoding socket details in -yy mode.
* Implemented decoding of copy_file_range syscall.
* Implemented dumping of vmsplice syscall.
+ * Added -e trace=scheduler option for tracing scheduler related syscalls.
* Bug fixes
* Fixed build on arc, metag, nios2, or1k, and tile architectures.
diff --git a/defs.h b/defs.h
index f095ff6..531fc9d 100644
--- a/defs.h
+++ b/defs.h
@@ -407,6 +407,7 @@ extern const struct xlat whence_codes[];
#define STACKTRACE_INVALIDATE_CACHE 0400 /* Trigger proc/maps cache
updating */
#define STACKTRACE_CAPTURE_ON_ENTER 01000 /* Capture stacktrace on
"entering" stage */
#define TRACE_INDIRECT_SUBCALL 02000 /* Syscall is an indirect
socket/ipc subcall. */
+#define TRACE_SCHED 04000 /* Trace scheduler-related syscalls */
#define IOCTL_NUMBER_UNKNOWN 0
#define IOCTL_NUMBER_HANDLED 1
diff --git a/linux/32/syscallent.h b/linux/32/syscallent.h
index 03874ac..096bd32 100644
--- a/linux/32/syscallent.h
+++ b/linux/32/syscallent.h
@@ -123,16 +123,16 @@
[115] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[116] = { 3, 0, SEN(syslog), "syslog" },
[117] = { 4, 0, SEN(ptrace), "ptrace" },
-[118] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[119] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[120] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[121] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[122] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[123] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
-[124] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[125] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[126] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[127] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[118] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[119] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[120] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[121] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[122] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[123] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
+[124] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[125] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[126] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[127] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[128] = { 0, 0, SEN(restart_syscall), "restart_syscall" },
[129] = { 2, TS, SEN(kill), "kill" },
[130] = { 2, TS, SEN(kill), "tkill" },
@@ -264,8 +264,8 @@
[271] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[272] = { 5, 0, SEN(kcmp), "kcmp" },
[273] = { 3, TD, SEN(finit_module), "finit_module" },
-[274] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[275] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[274] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[275] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[276] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[277] = { 3, 0, SEN(seccomp), "seccomp", },
[278] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/64/syscallent.h b/linux/64/syscallent.h
index fc78605..0765a44 100644
--- a/linux/64/syscallent.h
+++ b/linux/64/syscallent.h
@@ -116,16 +116,16 @@
[115] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
[116] = { 3, 0, SEN(syslog), "syslog" },
[117] = { 4, 0, SEN(ptrace), "ptrace" },
-[118] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[119] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[120] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[121] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[122] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[123] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
-[124] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[125] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[126] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[127] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[118] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[119] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[120] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[121] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[122] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[123] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
+[124] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[125] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[126] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[127] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[128] = { 0, 0, SEN(restart_syscall), "restart_syscall" },
[129] = { 2, TS, SEN(kill), "kill" },
[130] = { 2, TS, SEN(kill), "tkill" },
@@ -257,8 +257,8 @@
[271] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[272] = { 5, 0, SEN(kcmp), "kcmp" },
[273] = { 3, TD, SEN(finit_module), "finit_module" },
-[274] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[275] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[274] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[275] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[276] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[277] = { 3, 0, SEN(seccomp), "seccomp", },
[278] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h
index 1bddd24..035f65c 100644
--- a/linux/alpha/syscallent.h
+++ b/linux/alpha/syscallent.h
@@ -293,14 +293,14 @@
[327] = { 2, 0, SEN(ustat), "ustat" },
[328] = { 2, TF, SEN(statfs), "statfs" },
[329] = { 2, TD, SEN(fstatfs), "fstatfs" },
-[330] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[331] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[332] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[333] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[334] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[335] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[336] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[337] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[330] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[331] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[332] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[333] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[334] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[335] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[336] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[337] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[338] = { 5, 0, SEN(afs_syscall), "afs_syscall" },
[339] = { 1, 0, SEN(uname), "uname" },
[340] = { 2, 0, SEN(nanosleep), "nanosleep" },
@@ -358,8 +358,8 @@
[392] = { 2, TF, SEN(removexattr), "lremovexattr" },
[393] = { 2, TD, SEN(fremovexattr), "fremovexattr" },
[394] = { 6, 0, SEN(futex), "futex" },
-[395] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[396] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[395] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[396] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[397] = { 5, 0, SEN(tuxcall), "tuxcall" },
[398] = { 2, 0, SEN(io_setup), "io_setup" },
[399] = { 1, 0, SEN(io_destroy), "io_destroy" },
@@ -470,8 +470,8 @@
[505] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[506] = { 5, 0, SEN(kcmp), "kcmp" },
[507] = { 3, TD, SEN(finit_module), "finit_module" },
-[508] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[509] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[508] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[509] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[510] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[511] = { 3, 0, SEN(getrandom), "getrandom", },
[512] = { 2, TD, SEN(memfd_create), "memfd_create", },
diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h
index a94bedc..5e87677 100644
--- a/linux/arm/syscallent.h
+++ b/linux/arm/syscallent.h
@@ -180,14 +180,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
@@ -266,8 +266,8 @@
[238] = { 2, TS, SEN(kill), "tkill" },
[239] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[240] = { 6, 0, SEN(futex), "futex" },
-[241] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[242] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[241] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[242] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[243] = { 2, 0, SEN(io_setup), "io_setup" },
[244] = { 1, 0, SEN(io_destroy), "io_destroy" },
[245] = { 5, 0, SEN(io_getevents), "io_getevents" },
@@ -404,8 +404,8 @@
[377] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[378] = { 5, 0, SEN(kcmp), "kcmp" },
[379] = { 3, TD, SEN(finit_module), "finit_module" },
-[380] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[381] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[380] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[381] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[382] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[383] = { 3, 0, SEN(seccomp), "seccomp", },
[384] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h
index 84015d4..07bea7e 100644
--- a/linux/avr32/syscallent.h
+++ b/linux/avr32/syscallent.h
@@ -160,14 +160,14 @@
[132] = { 2, TM, SEN(munlock), "munlock" },
[133] = { 1, TM, SEN(mlockall), "mlockall" },
[134] = { 0, TM, SEN(munlockall), "munlockall" },
-[135] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[136] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[137] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[138] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[139] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[140] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[141] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[142] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[135] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[136] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[137] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[138] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[139] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[140] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[141] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[142] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[143] = { 2, 0, SEN(nanosleep), "nanosleep" },
[144] = { 3, TD, SEN(poll), "poll" },
[145] = { 3, 0, SEN(nfsservctl), "nfsservctl" },
@@ -218,8 +218,8 @@
[190] = { 2, TS, SEN(kill), "tkill" },
[191] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[192] = { 6, 0, SEN(futex), "futex" },
-[193] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[194] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[193] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[194] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[195] = { 2, 0, SEN(capget), "capget" },
[196] = { 2, 0, SEN(capset), "capset" },
[197] = { 2, 0, SEN(io_setup), "io_setup" },
@@ -338,8 +338,8 @@
[310] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[311] = { 5, 0, SEN(kcmp), "kcmp" },
[312] = { 3, TD, SEN(finit_module), "finit_module" },
-[313] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[314] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[313] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[314] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[315] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[316] = { 3, 0, SEN(seccomp), "seccomp", },
[317] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/bfin/syscallent.h b/linux/bfin/syscallent.h
index dd99fa6..6e2979a 100644
--- a/linux/bfin/syscallent.h
+++ b/linux/bfin/syscallent.h
@@ -180,14 +180,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
@@ -266,8 +266,8 @@
[238] = { 2, TS, SEN(kill), "tkill" },
[239] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[240] = { 6, 0, SEN(futex), "futex" },
-[241] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[242] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[241] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[242] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[243] = { 1, 0, SEN(set_thread_area), "set_thread_area" },
[244] = { 1, 0, SEN(get_thread_area), "get_thread_area" },
[245] = { 2, 0, SEN(io_setup), "io_setup" },
@@ -410,8 +410,8 @@
[382] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[383] = { 5, 0, SEN(kcmp), "kcmp" },
[384] = { 3, TD, SEN(finit_module), "finit_module" },
-[385] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[386] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[385] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[386] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[387] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[388] = { 3, 0, SEN(seccomp), "seccomp", },
[389] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/hppa/syscallent.h b/linux/hppa/syscallent.h
index 433e164..0129dc6 100644
--- a/linux/hppa/syscallent.h
+++ b/linux/hppa/syscallent.h
@@ -156,14 +156,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164] = { 3, 0, SEN(setresuid), "setresuid" },
@@ -213,8 +213,8 @@
[208] = { 2, TS, SEN(kill), "tkill" },
[209] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[210] = { 6, 0, SEN(futex), "futex" },
-[211] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[212] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[211] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[212] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[213] = { 5, 0, SEN(printargs), "set_thread_area" },
[214] = { 5, 0, SEN(printargs), "get_thread_area" },
[215] = { 2, 0, SEN(io_setup), "io_setup" },
@@ -336,8 +336,8 @@
[331] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[332] = { 5, 0, SEN(kcmp), "kcmp" },
[333] = { 3, TD, SEN(finit_module), "finit_module" },
-[334] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[335] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[334] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[335] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[336] = { 2, TF, SEN(utimes), "utimes" },
[337] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[338] = { 3, 0, SEN(seccomp), "seccomp", },
diff --git a/linux/i386/syscallent.h b/linux/i386/syscallent.h
index f91fe1d..8621e54 100644
--- a/linux/i386/syscallent.h
+++ b/linux/i386/syscallent.h
@@ -180,14 +180,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
@@ -266,8 +266,8 @@
[238] = { 2, TS, SEN(kill), "tkill" },
[239] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[240] = { 6, 0, SEN(futex), "futex" },
-[241] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[242] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[241] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[242] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[243] = { 1, 0, SEN(set_thread_area), "set_thread_area" },
[244] = { 1, 0, SEN(get_thread_area), "get_thread_area" },
[245] = { 2, 0, SEN(io_setup), "io_setup" },
@@ -376,8 +376,8 @@
[348] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[349] = { 5, 0, SEN(kcmp), "kcmp" },
[350] = { 3, TD, SEN(finit_module), "finit_module" },
-[351] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[352] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[351] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[352] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[353] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[354] = { 3, 0, SEN(seccomp), "seccomp", },
[355] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h
index 911e21f..4d50ad7 100644
--- a/linux/ia64/syscallent.h
+++ b/linux/ia64/syscallent.h
@@ -176,14 +176,14 @@
[1157] = { 3, TM, SEN(msync), "msync" },
[1158] = { 2, TM, SEN(munlock), "munlock" },
[1159] = { 0, TM, SEN(munlockall), "munlockall" },
-[1160] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[1161] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[1162] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[1163] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[1164] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[1165] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[1166] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[1167] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[1160] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[1161] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[1162] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[1163] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[1164] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[1165] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[1166] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[1167] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[1168] = { 2, 0, SEN(nanosleep), "nanosleep" },
[1169] = { 3, 0, SEN(nfsservctl), "nfsservctl" },
[1170] = { 5, 0, SEN(prctl), "prctl" },
@@ -247,8 +247,8 @@
[1228] = { 2, TD, SEN(fremovexattr), "fremovexattr" },
[1229] = { 2, TS, SEN(kill), "tkill" },
[1230] = { 6, 0, SEN(futex), "futex" },
-[1231] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[1232] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[1231] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[1232] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[1233] = { 1, 0, SEN(set_tid_address), "set_tid_address" },
[1234] = { 4, TD, SEN(fadvise64), "fadvise64" },
[1235] = { 3, TS, SEN(tgkill), "tgkill" },
@@ -352,8 +352,8 @@
[1333] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[1334] = { 4, TN, SEN(accept4), "accept4" },
[1335] = { 3, TD, SEN(finit_module), "finit_module" },
-[1336] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[1337] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[1336] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[1337] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[1338] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[1339] = { 3, 0, SEN(getrandom), "getrandom", },
[1340] = { 2, TD, SEN(memfd_create), "memfd_create", },
diff --git a/linux/m68k/syscallent.h b/linux/m68k/syscallent.h
index 23d507d..3c99cce 100644
--- a/linux/m68k/syscallent.h
+++ b/linux/m68k/syscallent.h
@@ -180,14 +180,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
@@ -336,8 +336,8 @@
[308] = { 4, TD, SEN(tee), "tee" },
[309] = { 4, TD, SEN(vmsplice), "vmsplice" },
[310] = { 6, TM, SEN(move_pages), "move_pages" },
-[311] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[312] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[311] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[312] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[313] = { 4, 0, SEN(kexec_load), "kexec_load" },
[314] = { 3, 0, SEN(getcpu), "getcpu" },
[315] = { 6, TD, SEN(epoll_pwait), "epoll_pwait" },
@@ -374,8 +374,8 @@
[346] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[347] = { 5, 0, SEN(kcmp), "kcmp" },
[348] = { 3, TD, SEN(finit_module), "finit_module" },
-[349] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[350] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[349] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[350] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[351] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[352] = { 3, 0, SEN(getrandom), "getrandom", },
[353] = { 2, TD, SEN(memfd_create), "memfd_create", },
diff --git a/linux/microblaze/syscallent.h b/linux/microblaze/syscallent.h
index 482e275..909f307 100644
--- a/linux/microblaze/syscallent.h
+++ b/linux/microblaze/syscallent.h
@@ -180,14 +180,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
@@ -266,8 +266,8 @@
[238] = { 2, TS, SEN(kill), "tkill" },
[239] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[240] = { 6, 0, SEN(futex), "futex" },
-[241] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[242] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[241] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[242] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[243] = { 1, 0, SEN(set_thread_area), "set_thread_area" },
[244] = { 1, 0, SEN(get_thread_area), "get_thread_area" },
[245] = { 2, 0, SEN(io_setup), "io_setup" },
@@ -406,8 +406,8 @@
[378] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[379] = { 5, 0, SEN(kcmp), "kcmp" },
[380] = { 3, TD, SEN(finit_module), "finit_module" },
-[381] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[382] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[381] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[382] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[383] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[384] = { 3, 0, SEN(seccomp), "seccomp", },
[385] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h
index 57d9fb1..468915a 100644
--- a/linux/mips/syscallent-n32.h
+++ b/linux/mips/syscallent-n32.h
@@ -23,7 +23,7 @@
[6020] = { 2, TF, SEN(access), "access" },
[6021] = { 0, TD, SEN(pipe), "pipe" },
[6022] = { 5, TD, SEN(select), "_newselect" },
-[6023] = { 0, 0, SEN(sched_yield), "sched_yield" },
+[6023] = { 0, TSC, SEN(sched_yield), "sched_yield" },
[6024] = { 5, TM|SI, SEN(mremap), "mremap" },
[6025] = { 3, TM, SEN(msync), "msync" },
[6026] = { 3, TM, SEN(mincore), "mincore" },
@@ -139,13 +139,13 @@
[6136] = { 3, 0, SEN(sysfs), "sysfs" },
[6137] = { 2, 0, SEN(getpriority), "getpriority" },
[6138] = { 3, 0, SEN(setpriority), "setpriority" },
-[6139] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[6140] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[6141] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[6142] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[6143] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[6144] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[6145] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[6139] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[6140] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[6141] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[6142] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[6143] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[6144] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[6145] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[6146] = { 2, TM, SEN(mlock), "mlock" },
[6147] = { 2, TM, SEN(munlock), "munlock" },
[6148] = { 1, TM, SEN(mlockall), "mlockall" },
@@ -195,8 +195,8 @@
[6192] = { 2, TS, SEN(kill), "tkill" },
[6193] = { 1, 0, SEN(time), "time" },
[6194] = { 6, 0, SEN(futex), "futex" },
-[6195] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[6196] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[6195] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[6196] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[6197] = { 3, 0, SEN(printargs), "cacheflush" },
[6198] = { 3, 0, SEN(printargs), "cachectl" },
[6199] = { 4, 0, SEN(sysmips), "sysmips" },
@@ -313,8 +313,8 @@
[6310] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[6311] = { 5, 0, SEN(kcmp), "kcmp" },
[6312] = { 3, TD, SEN(finit_module), "finit_module" },
-[6313] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[6314] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[6313] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[6314] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[6315] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[6316] = { 3, 0, SEN(seccomp), "seccomp", },
[6317] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/mips/syscallent-n64.h b/linux/mips/syscallent-n64.h
index 170b6ee..62841fb 100644
--- a/linux/mips/syscallent-n64.h
+++ b/linux/mips/syscallent-n64.h
@@ -23,7 +23,7 @@
[5020] = { 2, TF, SEN(access), "access" },
[5021] = { 0, TD, SEN(pipe), "pipe" },
[5022] = { 5, TD, SEN(select), "_newselect" },
-[5023] = { 0, 0, SEN(sched_yield), "sched_yield" },
+[5023] = { 0, TSC, SEN(sched_yield), "sched_yield" },
[5024] = { 5, TM|SI, SEN(mremap), "mremap" },
[5025] = { 3, TM, SEN(msync), "msync" },
[5026] = { 3, TM, SEN(mincore), "mincore" },
@@ -139,13 +139,13 @@
[5136] = { 3, 0, SEN(sysfs), "sysfs" },
[5137] = { 2, 0, SEN(getpriority), "getpriority" },
[5138] = { 3, 0, SEN(setpriority), "setpriority" },
-[5139] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[5140] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[5141] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[5142] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[5143] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[5144] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[5145] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[5139] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[5140] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[5141] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[5142] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[5143] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[5144] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[5145] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[5146] = { 2, TM, SEN(mlock), "mlock" },
[5147] = { 2, TM, SEN(munlock), "munlock" },
[5148] = { 1, TM, SEN(mlockall), "mlockall" },
@@ -195,8 +195,8 @@
[5192] = { 2, TS, SEN(kill), "tkill" },
[5193] = { 1, 0, SEN(time), "time" },
[5194] = { 6, 0, SEN(futex), "futex" },
-[5195] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[5196] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[5195] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[5196] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[5197] = { 3, 0, SEN(printargs), "cacheflush" },
[5198] = { 3, 0, SEN(printargs), "cachectl" },
[5199] = { 4, 0, SEN(sysmips), "sysmips" },
@@ -309,8 +309,8 @@
[5306] = { 5, 0, SEN(kcmp), "kcmp" },
[5307] = { 3, TD, SEN(finit_module), "finit_module" },
[5308] = { 3, TD, SEN(getdents64), "getdents64" },
-[5309] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[5310] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[5309] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[5310] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[5311] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[5312] = { 3, 0, SEN(seccomp), "seccomp", },
[5313] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/mips/syscallent-o32.h b/linux/mips/syscallent-o32.h
index 7a75abd..d490c21 100644
--- a/linux/mips/syscallent-o32.h
+++ b/linux/mips/syscallent-o32.h
@@ -158,14 +158,14 @@
[4155] = { 2, TM, SEN(munlock), "munlock" },
[4156] = { 1, TM, SEN(mlockall), "mlockall" },
[4157] = { 0, TM, SEN(munlockall), "munlockall" },
-[4158] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[4159] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[4160] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[4161] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[4162] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[4163] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[4164] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[4165] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[4158] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[4159] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[4160] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[4161] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[4162] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[4163] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[4164] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[4165] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[4166] = { 2, 0, SEN(nanosleep), "nanosleep" },
[4167] = { 5, TM|SI, SEN(mremap), "mremap" },
[4168] = { 3, TN, SEN(accept), "accept" },
@@ -239,8 +239,8 @@
[4236] = { 2, TS, SEN(kill), "tkill" },
[4237] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[4238] = { 6, 0, SEN(futex), "futex" },
-[4239] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[4240] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[4239] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[4240] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[4241] = { 2, 0, SEN(io_setup), "io_setup" },
[4242] = { 1, 0, SEN(io_destroy), "io_destroy" },
[4243] = { 5, 0, SEN(io_getevents), "io_getevents" },
@@ -349,8 +349,8 @@
[4346] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[4347] = { 5, 0, SEN(kcmp), "kcmp" },
[4348] = { 3, TD, SEN(finit_module), "finit_module" },
-[4349] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[4350] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[4349] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[4350] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[4351] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[4352] = { 3, 0, SEN(seccomp), "seccomp", },
[4353] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h
index 8a79c9f..981bed5 100644
--- a/linux/powerpc/syscallent.h
+++ b/linux/powerpc/syscallent.h
@@ -180,14 +180,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164] = { 3, 0, SEN(setresuid), "setresuid" },
@@ -248,8 +248,8 @@
[219] = { 2, TF, SEN(removexattr), "lremovexattr" },
[220] = { 2, TD, SEN(fremovexattr), "fremovexattr" },
[221] = { 6, 0, SEN(futex), "futex" },
-[222] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[223] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[222] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[223] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[224] = { },
[225] = { 5, 0, SEN(printargs), "tuxcall" },
[226] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
@@ -381,8 +381,8 @@
[352] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[353] = { 3, TD, SEN(finit_module), "finit_module" },
[354] = { 5, 0, SEN(kcmp), "kcmp" },
-[355] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[356] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[355] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[356] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[357] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[358] = { 3, 0, SEN(seccomp), "seccomp", },
[359] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h
index 685ee23..eb799a7 100644
--- a/linux/powerpc64/syscallent.h
+++ b/linux/powerpc64/syscallent.h
@@ -180,14 +180,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164] = { 3, 0, SEN(setresuid), "setresuid" },
@@ -243,8 +243,8 @@
[219] = { 2, TF, SEN(removexattr), "lremovexattr" },
[220] = { 2, TD, SEN(fremovexattr), "fremovexattr" },
[221] = { 6, 0, SEN(futex), "futex" },
-[222] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[223] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[222] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[223] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[224] = { },
[225] = { 5, 0, SEN(printargs), "tuxcall" },
[226] = { },
@@ -376,8 +376,8 @@
[352] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[353] = { 3, TD, SEN(finit_module), "finit_module" },
[354] = { 5, 0, SEN(kcmp), "kcmp" },
-[355] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[356] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[355] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[356] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[357] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[358] = { 3, 0, SEN(seccomp), "seccomp", },
[359] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h
index 68ae7cb..3c52ab7 100644
--- a/linux/s390/syscallent.h
+++ b/linux/s390/syscallent.h
@@ -182,14 +182,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
@@ -267,8 +267,8 @@
[236] = { 0, NF, SEN(gettid), "gettid" },
[237] = { 2, TS, SEN(kill), "tkill" },
[238] = { 6, 0, SEN(futex), "futex" },
-[239] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[240] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[239] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[240] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[241] = { 3, TS, SEN(tgkill), "tgkill" },
[242] = { },
[243] = { 2, 0, SEN(io_setup), "io_setup" },
@@ -373,8 +373,8 @@
[342] = { 2, 0, SEN(printargs), "s390_runtime_instr" },
[343] = { 5, 0, SEN(kcmp), "kcmp" },
[344] = { 3, TD, SEN(finit_module), "finit_module" },
-[345] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[346] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[345] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[346] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[347] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[348] = { 3, 0, SEN(seccomp), "seccomp", },
[349] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h
index 00ce24e..bd75970 100644
--- a/linux/s390x/syscallent.h
+++ b/linux/s390x/syscallent.h
@@ -174,14 +174,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164 ... 166] = { },
@@ -251,8 +251,8 @@
[236] = { 0, NF, SEN(gettid), "gettid" },
[237] = { 2, TS, SEN(kill), "tkill" },
[238] = { 6, 0, SEN(futex), "futex" },
-[239] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[240] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[239] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[240] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[241] = { 3, TS, SEN(tgkill), "tgkill" },
[242] = { },
[243] = { 2, 0, SEN(io_setup), "io_setup" },
@@ -357,8 +357,8 @@
[342] = { 2, 0, SEN(printargs), "s390_runtime_instr" },
[343] = { 5, 0, SEN(kcmp), "kcmp" },
[344] = { 3, TD, SEN(finit_module), "finit_module" },
-[345] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[346] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[345] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[346] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[347] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[348] = { 3, 0, SEN(seccomp), "seccomp", },
[349] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h
index 95b1b59..f5489b0 100644
--- a/linux/sh/syscallent.h
+++ b/linux/sh/syscallent.h
@@ -182,14 +182,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
@@ -267,8 +267,8 @@
[238] = { 2, TS, SEN(kill), "tkill" },
[239] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[240] = { 6, 0, SEN(futex), "futex" },
-[241] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[242] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[241] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[242] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[243 ... 244] = { },
[245] = { 2, 0, SEN(io_setup), "io_setup" },
[246] = { 1, 0, SEN(io_destroy), "io_destroy" },
diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h
index 0f9ad1a..ae6c5ad 100644
--- a/linux/sh64/syscallent.h
+++ b/linux/sh64/syscallent.h
@@ -180,14 +180,14 @@
[151] = { 2, TM, SEN(munlock), "munlock" },
[152] = { 1, TM, SEN(mlockall), "mlockall" },
[153] = { 0, TM, SEN(munlockall), "munlockall" },
-[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[156] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[157] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[159] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[160] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[161] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[156] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[157] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[159] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[160] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[161] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
@@ -293,8 +293,8 @@
[266] = { 2, TS, SEN(kill), "tkill" },
[267] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[268] = { 6, 0, SEN(futex), "futex" },
-[269] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[270] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[269] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[270] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[271 ... 272] = { },
[273] = { 2, 0, SEN(io_setup), "io_setup" },
[274] = { 1, 0, SEN(io_destroy), "io_destroy" },
diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h
index 4404b95..4d65a6a 100644
--- a/linux/sparc/syscallent.h
+++ b/linux/sparc/syscallent.h
@@ -158,8 +158,8 @@
[157] = { 2, TF, SEN(statfs), "statfs" },
[158] = { 2, TD, SEN(fstatfs), "fstatfs" },
[159] = { 1, TF, SEN(umount), "umount" },
-[160] = { 3, 0, SEN(sched_setaffinity),
"sched_set_affinity" },
-[161] = { 3, 0, SEN(sched_getaffinity),
"sched_get_affinity" },
+[160] = { 3, TSC, SEN(sched_setaffinity),
"sched_set_affinity" },
+[161] = { 3, TSC, SEN(sched_getaffinity),
"sched_get_affinity" },
[162] = { 2, 0, SEN(printargs), "getdomainname" },
[163] = { 2, 0, SEN(setdomainname), "setdomainname" },
[164] = { },
@@ -239,14 +239,14 @@
[238] = { 2, TM, SEN(munlock), "munlock" },
[239] = { 1, TM, SEN(mlockall), "mlockall" },
[240] = { 0, TM, SEN(munlockall), "munlockall" },
-[241] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[242] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[243] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[244] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[245] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[246] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[247] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[248] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[241] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[242] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[243] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[244] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[245] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[246] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[247] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[248] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[249] = { 2, 0, SEN(nanosleep), "nanosleep" },
[250] = { 5, TM|SI, SEN(mremap), "mremap" },
[251] = { 1, 0, SEN(sysctl), "_sysctl" },
@@ -258,8 +258,8 @@
[257] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[258] = { 2, 0, SEN(clock_getres), "clock_getres" },
[259] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
-[260] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
-[261] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
+[260] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
+[261] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
[262] = { 4, 0, SEN(timer_settime), "timer_settime" },
[263] = { 2, 0, SEN(timer_gettime), "timer_gettime" },
[264] = { 1, 0, SEN(timer_getoverrun),
"timer_getoverrun" },
@@ -341,8 +341,8 @@
[340] = { 0, NF, SEN(printargs), "kern_features" },
[341] = { 5, 0, SEN(kcmp), "kcmp" },
[342] = { 3, TD, SEN(finit_module), "finit_module" },
-[343] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[344] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[343] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[344] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[345] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[346] = { 3, 0, SEN(seccomp), "seccomp", },
[347] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/sparc64/syscallent.h b/linux/sparc64/syscallent.h
index 2953215..46086d1 100644
--- a/linux/sparc64/syscallent.h
+++ b/linux/sparc64/syscallent.h
@@ -156,8 +156,8 @@
[157] = { 2, TF, SEN(statfs), "statfs" },
[158] = { 2, TD, SEN(fstatfs), "fstatfs" },
[159] = { 1, TF, SEN(umount), "umount" },
-[160] = { 3, 0, SEN(sched_setaffinity),
"sched_set_affinity" },
-[161] = { 3, 0, SEN(sched_getaffinity),
"sched_get_affinity" },
+[160] = { 3, TSC, SEN(sched_setaffinity),
"sched_set_affinity" },
+[161] = { 3, TSC, SEN(sched_getaffinity),
"sched_get_affinity" },
[162] = { 2, 0, SEN(printargs), "getdomainname" },
[163] = { 2, 0, SEN(setdomainname), "setdomainname" },
[164] = { 5, 0, SEN(printargs), "utrap_install" },
@@ -237,14 +237,14 @@
[238] = { 2, TM, SEN(munlock), "munlock" },
[239] = { 1, TM, SEN(mlockall), "mlockall" },
[240] = { 0, TM, SEN(munlockall), "munlockall" },
-[241] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[242] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[243] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[244] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[245] = { 0, 0, SEN(sched_yield), "sched_yield" },
-[246] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[247] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[248] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[241] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[242] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[243] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[244] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[245] = { 0, TSC, SEN(sched_yield), "sched_yield" },
+[246] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[247] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[248] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[249] = { 2, 0, SEN(nanosleep), "nanosleep" },
[250] = { 5, TM|SI, SEN(mremap), "mremap" },
[251] = { 1, 0, SEN(sysctl), "_sysctl" },
@@ -256,8 +256,8 @@
[257] = { 2, 0, SEN(clock_gettime), "clock_gettime" },
[258] = { 2, 0, SEN(clock_getres), "clock_getres" },
[259] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
-[260] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
-[261] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
+[260] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
+[261] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
[262] = { 4, 0, SEN(timer_settime), "timer_settime" },
[263] = { 2, 0, SEN(timer_gettime), "timer_gettime" },
[264] = { 1, 0, SEN(timer_getoverrun),
"timer_getoverrun" },
@@ -339,8 +339,8 @@
[340] = { 0, NF, SEN(printargs), "kern_features" },
[341] = { 5, 0, SEN(kcmp), "kcmp" },
[342] = { 3, TD, SEN(finit_module), "finit_module" },
-[343] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[344] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[343] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[344] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[345] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[346] = { 3, 0, SEN(seccomp), "seccomp", },
[347] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
index 5ef4a66..be5fd55 100644
--- a/linux/x32/syscallent.h
+++ b/linux/x32/syscallent.h
@@ -22,7 +22,7 @@
[ 21] = { 2, TF, SEN(access), "access" },
[ 22] = { 1, TD, SEN(pipe), "pipe" },
[ 23] = { 5, TD, SEN(select), "select" },
-[ 24] = { 0, 0, SEN(sched_yield), "sched_yield" },
+[ 24] = { 0, TSC, SEN(sched_yield), "sched_yield" },
[ 25] = { 5, TM|SI, SEN(mremap), "mremap" },
[ 26] = { 3, TM, SEN(msync), "msync" },
[ 27] = { 3, TM, SEN(mincore), "mincore" },
@@ -140,13 +140,13 @@
[139] = { 3, 0, SEN(sysfs), "sysfs" },
[140] = { 2, 0, SEN(getpriority), "getpriority" },
[141] = { 3, 0, SEN(setpriority), "setpriority" },
-[142] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[143] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[144] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[145] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[146] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[147] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[148] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[142] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[143] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[144] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[145] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[146] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[147] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[148] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[149] = { 2, TM, SEN(mlock), "mlock" },
[150] = { 2, TM, SEN(munlock), "munlock" },
[151] = { 1, TM, SEN(mlockall), "mlockall" },
@@ -201,8 +201,8 @@
[200] = { 2, TS, SEN(kill), "tkill" },
[201] = { 1, 0, SEN(time), "time" },
[202] = { 6, 0, SEN(futex), "futex" },
-[203] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[204] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[203] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[204] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[205] = { 1, 0, SEN(printargs), "64:set_thread_area" },
[206] = { 2, 0, SEN(io_setup), "64:io_setup" },
[207] = { 1, 0, SEN(io_destroy), "io_destroy" },
@@ -312,8 +312,8 @@
[311] = { 6, 0, SEN(printargs),
"64:process_vm_writev" },
[312] = { 5, 0, SEN(kcmp), "kcmp" },
[313] = { 3, TD, SEN(finit_module), "finit_module" },
-[314] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[315] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[314] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[315] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[316] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[317] = { 3, 0, SEN(seccomp), "seccomp", },
[318] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h
index 52d73bf..a5ee158 100644
--- a/linux/x86_64/syscallent.h
+++ b/linux/x86_64/syscallent.h
@@ -22,7 +22,7 @@
[ 21] = { 2, TF, SEN(access), "access" },
[ 22] = { 1, TD, SEN(pipe), "pipe" },
[ 23] = { 5, TD, SEN(select), "select" },
-[ 24] = { 0, 0, SEN(sched_yield), "sched_yield" },
+[ 24] = { 0, TSC, SEN(sched_yield), "sched_yield" },
[ 25] = { 5, TM|SI, SEN(mremap), "mremap" },
[ 26] = { 3, TM, SEN(msync), "msync" },
[ 27] = { 3, TM, SEN(mincore), "mincore" },
@@ -140,13 +140,13 @@
[139] = { 3, 0, SEN(sysfs), "sysfs" },
[140] = { 2, 0, SEN(getpriority), "getpriority" },
[141] = { 3, 0, SEN(setpriority), "setpriority" },
-[142] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[143] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[144] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[145] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[146] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[147] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[148] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[142] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[143] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[144] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[145] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[146] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[147] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[148] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
[149] = { 2, TM, SEN(mlock), "mlock" },
[150] = { 2, TM, SEN(munlock), "munlock" },
[151] = { 1, TM, SEN(mlockall), "mlockall" },
@@ -201,8 +201,8 @@
[200] = { 2, TS, SEN(kill), "tkill" },
[201] = { 1, 0, SEN(time), "time" },
[202] = { 6, 0, SEN(futex), "futex" },
-[203] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[204] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[203] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[204] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[205] = { 1, 0, SEN(set_thread_area), "set_thread_area" },
[206] = { 2, 0, SEN(io_setup), "io_setup" },
[207] = { 1, 0, SEN(io_destroy), "io_destroy" },
@@ -312,8 +312,8 @@
[311] = { 6, 0, SEN(process_vm_writev),
"process_vm_writev" },
[312] = { 5, 0, SEN(kcmp), "kcmp" },
[313] = { 3, TD, SEN(finit_module), "finit_module" },
-[314] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[315] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[314] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[315] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[316] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[317] = { 3, 0, SEN(seccomp), "seccomp", },
[318] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h
index ffb7d43..abe9d45 100644
--- a/linux/xtensa/syscallent.h
+++ b/linux/xtensa/syscallent.h
@@ -148,8 +148,8 @@
[152 ... 153] = { },
[154] = { 1, 0, SEN(times), "times" },
[155] = { 1, TF, SEN(acct), "acct" },
-[156] = { 3, 0, SEN(sched_setaffinity),
"sched_setaffinity" },
-[157] = { 3, 0, SEN(sched_getaffinity),
"sched_getaffinity" },
+[156] = { 3, TSC, SEN(sched_setaffinity),
"sched_setaffinity" },
+[157] = { 3, TSC, SEN(sched_getaffinity),
"sched_getaffinity" },
[158] = { 2, 0, SEN(capget), "capget" },
[159] = { 2, 0, SEN(capset), "capset" },
[160] = { 4, 0, SEN(ptrace), "ptrace" },
@@ -204,14 +204,14 @@
[209] = { 1, 0, SEN(sysinfo), "sysinfo" },
[210] = { 3, 0, SEN(init_module), "init_module" },
[211] = { 2, 0, SEN(delete_module), "delete_module" },
-[212] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
-[213] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
-[214] = { 3, 0, SEN(sched_setscheduler),
"sched_setscheduler" },
-[215] = { 1, 0, SEN(sched_getscheduler),
"sched_getscheduler" },
-[216] = { 1, 0, SEN(sched_get_priority_max),
"sched_get_priority_max"},
-[217] = { 1, 0, SEN(sched_get_priority_min),
"sched_get_priority_min"},
-[218] = { 2, 0, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
-[219] = { 0, 0, SEN(sched_yield), "sched_yield" },
+[212] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
+[213] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
+[214] = { 3, TSC, SEN(sched_setscheduler),
"sched_setscheduler" },
+[215] = { 1, TSC, SEN(sched_getscheduler),
"sched_getscheduler" },
+[216] = { 1, TSC, SEN(sched_get_priority_max),
"sched_get_priority_max"},
+[217] = { 1, TSC, SEN(sched_get_priority_min),
"sched_get_priority_min"},
+[218] = { 2, TSC, SEN(sched_rr_get_interval),
"sched_rr_get_interval" },
+[219] = { 0, TSC, SEN(sched_yield), "sched_yield" },
[220 ... 222] = { },
[223] = { 0, 0, SEN(restart_syscall), "restart_syscall" },
[224] = { 2, TS, SEN(sigaltstack), "sigaltstack" },
@@ -322,8 +322,8 @@
[331] = { 5, 0, SEN(kcmp), "kcmp" },
[332] = { 3, TD, SEN(finit_module), "finit_module" },
[333] = { 4, TN, SEN(accept4), "accept4" },
-[334] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
-[335] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
+[334] = { 3, TSC, SEN(sched_setattr),
"sched_setattr" },
+[335] = { 4, TSC, SEN(sched_getattr),
"sched_getattr" },
[336] = { 5, TD|TF, SEN(renameat2), "renameat2" },
[337] = { 3, 0, SEN(seccomp), "seccomp", },
[338] = { 3, 0, SEN(getrandom), "getrandom", },
diff --git a/strace.1 b/strace.1
index 429cdfc..5a2bdf5 100644
--- a/strace.1
+++ b/strace.1
@@ -423,6 +423,9 @@ Trace all file descriptor related system calls.
.BR "\-e\ trace" = memory
Trace all memory mapping related system calls.
.TP
+.BR "\-e\ trace" = scheduler
+Trace all scheduler related system calls.
+.TP
\fB\-e\ abbrev\fR=\,\fIset\fR
Abbreviate the output from printing each member of large structures.
The default is
diff --git a/syscall.c b/syscall.c
index 6efcde5..5317fec 100644
--- a/syscall.c
+++ b/syscall.c
@@ -78,6 +78,7 @@
#define TP TRACE_PROCESS
#define TS TRACE_SIGNAL
#define TM TRACE_MEMORY
+#define TSC TRACE_SCHED
#define NF SYSCALL_NEVER_FAILS
#define MA MAX_ARGS
#define SI STACKTRACE_INVALIDATE_CACHE
@@ -112,6 +113,7 @@ static const struct_sysent sysent2[] = {
#undef TP
#undef TS
#undef TM
+#undef TSC
#undef NF
#undef MA
#undef SI
@@ -500,6 +502,8 @@ lookup_class(const char *s)
return TRACE_DESC;
if (strcmp(s, "memory") == 0)
return TRACE_MEMORY;
+ if (strcmp(s, "scheduler") == 0)
+ return TRACE_SCHED;
return -1;
}
On Fri, Mar 11, 2016 at 2:00 AM, haris iqbal <haris.phnx at gmail.com> wrote:
> On Fri, Mar 11, 2016 at 1:26 AM, Dmitry V. Levin <ldv at altlinux.org> wrote:
>> On Thu, Mar 10, 2016 at 11:42:24PM +0530, haris iqbal wrote:
>>> On Thu, Mar 10, 2016 at 5:24 AM, Dmitry V. Levin wrote:
>>> > On Wed, Mar 09, 2016 at 11:02:52AM +0530, haris iqbal wrote:
>>> > [...]
>>> >> Sorry for the multiple commits. My vim is giving trouble.
>>> >
>>> > Please don't send incremental commits, just amend and send the one you
>>> > already have.
>>>
>>> I did not quite understand this. So, I make changes and send the older
>>> commit log? How will the changes be seen by you guys then?
>>
>> Could you submit a patch implementing the change as a single commit,
>> not as a series of commits, please?
>>
>>> >> >> --- a/syscall.c
>>> >> >> +++ b/syscall.c
>>> >> >> @@ -78,6 +78,7 @@
>>> >> >> #define TP TRACE_PROCESS
>>> >> >> #define TS TRACE_SIGNAL
>>> >> >> #define TM TRACE_MEMORY
>>> >> >> +#define TSC TRACE_SCHED
>>> >> >> #define NF SYSCALL_NEVER_FAILS
>>> >> >> #define MA MAX_ARGS
>>> >> >> #define SI STACKTRACE_INVALIDATE_CACHE
>>> >> >> @@ -500,6 +501,8 @@ lookup_class(const char *s)
>>> >> >> return TRACE_DESC;
>>> >> >> if (strcmp(s, "memory") == 0)
>>> >> >> return TRACE_MEMORY;
>>> >> >> + if (strcmp(s, "scheduler") == 0)
>>> >> >> + return TRACE_SCHED;
>>> >> >> return -1;
>>> >> >> }
>>> >> >
>>> >> > Please follow the indentation style.
>>> >> > BTW, why "scheduler"? Could you give a rationale for this name?
>>> >>
>>> >> I thought as all the system calls are one or the other related to the
>>> >> scheduler. We can also consider the description "syscalls relate to
>>> >> scheduling.
>>> >
>>> > There is a subtle difference between a scheduler (an actor) and a set
>>> > of syscalls related to scheduling (an action) than might lead to confusion
>>> > in the future. That's why I still think that "%sched" would be better in
>>> > long run than "scheduler" or "scheduling".
>>>
>>> True, but my concern was we cannot change the name of this new one to
>>> "%sched", while the older ones are still following some other naming
>>> convention. What can be done is, we can decide on the names for all
>>> the existing options (for file, memory, ..) and then change all in one
>>> commit.
>>
>> All currently supported names of syscall sets will remain supported no
>> matter what kind of naming scheme will be used later. So once we added
>> "scheduler" to the user API, we would have to keep it.
>
> So, lets say I use "%sched" for this new one, won't it look
> inconsistent among other names of other options (like for memory, file
> and all).
>
>>
>>> --- a/NEWS
>>> +++ b/NEWS
>>> @@ -12,6 +12,7 @@ Noteworthy changes in release ?.?? (????-??-??)
>>> spent in decoding socket details in -yy mode.
>>> * Implemented decoding of copy_file_range syscall.
>>> * Implemented dumping of vmsplice syscall.
>>> + * Added feature to trace scheduler related system calls with option -e.
>>
>> Please change the wording to follow the style. You can use
>> "-e trace=memory" in the same file as an example.
>>
>>> --- a/strace.1
>>> +++ b/strace.1
>>> @@ -423,6 +423,9 @@ Trace all file descriptor related system calls.
>>> .BR "\-e\ trace" = memory
>>> Trace all memory mapping related system calls.
>>> .TP
>>> +.BR "\-e\ trace" = scheduler
>>> +Trace all scheduler related system calls.
>>> +.TP
>>> \fB\-e\ abbrev\fR=\,\fIset\fR
>>> Abbreviate the output from printing each member of large structures.
>>> The default is
>>
>> That's fine.
>>
>>
>> --
>> ldv
>>
>> ------------------------------------------------------------------------------
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
>> _______________________________________________
>> Strace-devel mailing list
>> Strace-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/strace-devel
>>
>
>
>
> --
>
> With regards,
>
> Md Haris Iqbal,
> Placement Coordinator, MTech IT
> NITK Surathkal,
> Contact: +91 8861996962
--
With regards,
Md Haris Iqbal,
Placement Coordinator, MTech IT
NITK Surathkal,
Contact: +91 8861996962
More information about the Strace-devel
mailing list