summaryrefslogtreecommitdiff
path: root/linux/avr32/syscallent.h
diff options
context:
space:
mode:
authorÁkos Uzonyi <uzonyi.akos@gmail.com>2020-04-17 11:46:55 +0200
committerDmitry V. Levin <ldv@altlinux.org>2020-04-17 20:43:15 +0000
commitb56b09002b5d6c5bd5916e0f6ff99329e6004cbd (patch)
treeb35539547e7824afd279549700766d7a1f03d11c /linux/avr32/syscallent.h
parentfd7755b4cc345e411671c45872cf7274fe03e996 (diff)
downloadstrace-b56b09002b5d6c5bd5916e0f6ff99329e6004cbd.tar.gz
Add %clock trace class
The %clock class includes the syscalls that read or modify system clock. linux/*/syscallent*.h part is updated automatically by: sed -i -r ' /"(.*adjtime.*|.*clock_([gs]et|adj).*|.*[gs]ettimeofday.*|time)"/ { s/(\{[^,]*,\t[^0][^,]*)/\1|TCL/ s/(\{[^,]*,\s*)0/\1TCL/ } ' linux/*/syscallent*.h * basic_filters.c (loopup_class): Add %clock member to syscall_class[]. * linux/32/syscallent-time32.h: Add TCL flag to clock related syscalls. * linux/64/syscallent.h: Likewise. * linux/alpha/syscallent.h: Likewise. * linux/arm/syscallent.h: Likewise. * linux/avr32/syscallent.h: Likewise. * linux/bfin/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent-compat.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/powerpc64/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/sparc64/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise. * strace.1.in: Add %clock description. * strace.c (usage): Add %clock group to help message. * sysent.h (TRACE_CLOCK): New definition. * sysent_shorthand_defs.h (TC): Likewise. * sysent_shorthand_undefs.h (TC): Add undef. * NEWS: Mention this. Signed-off-by: Ákos Uzonyi <uzonyi.akos@gmail.com>
Diffstat (limited to 'linux/avr32/syscallent.h')
-rw-r--r--linux/avr32/syscallent.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h
index 239cc0cd6..aafb85305 100644
--- a/linux/avr32/syscallent.h
+++ b/linux/avr32/syscallent.h
@@ -19,7 +19,7 @@
[ 10] = { 1, TF, SEN(unlink), "unlink" },
[ 11] = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" },
[ 12] = { 1, TF, SEN(chdir), "chdir" },
-[ 13] = { 1, 0, SEN(time), "time" },
+[ 13] = { 1, TCL, SEN(time), "time" },
[ 14] = { 3, TF, SEN(mknod), "mknod" },
[ 15] = { 2, TF, SEN(chmod), "chmod" },
[ 16] = { 3, TF, SEN(chown), "chown" },
@@ -84,8 +84,8 @@
[ 75] = { 2, 0, SEN(setrlimit), "setrlimit" },
[ 76] = { 2, 0, SEN(getrlimit), "getrlimit" },
[ 77] = { 2, 0, SEN(getrusage), "getrusage" },
-[ 78] = { 2, 0, SEN(gettimeofday), "gettimeofday" },
-[ 79] = { 2, 0, SEN(settimeofday), "settimeofday" },
+[ 78] = { 2, TCL, SEN(gettimeofday), "gettimeofday" },
+[ 79] = { 2, TCL, SEN(settimeofday), "settimeofday" },
[ 80] = { 2, TC, SEN(getgroups), "getgroups" },
[ 81] = { 2, TC, SEN(setgroups), "setgroups" },
[ 82] = { 5, TD, SEN(select), "select" },
@@ -118,7 +118,7 @@
[109] = { 4, TD|TN, SEN(sendfile), "sendfile" },
[110] = { 2, 0, SEN(setdomainname), "setdomainname" },
[111] = { 1, 0, SEN(uname), "uname" },
-[112] = { 1, 0, SEN(adjtimex32), "adjtimex" },
+[112] = { 1, TCL, SEN(adjtimex32), "adjtimex" },
[113] = { 3, TM|SI, SEN(mprotect), "mprotect" },
[114] = { 0, TP, SEN(vfork), "vfork" },
[115] = { 3, 0, SEN(init_module), "init_module" },
@@ -221,9 +221,9 @@
[212] = { 2, 0, SEN(timer_gettime32), "timer_gettime" },
[213] = { 1, 0, SEN(timer_getoverrun), "timer_getoverrun" },
[214] = { 1, 0, SEN(timer_delete), "timer_delete" },
-[215] = { 2, 0, SEN(clock_settime32), "clock_settime" },
-[216] = { 2, 0, SEN(clock_gettime32), "clock_gettime" },
-[217] = { 2, 0, SEN(clock_getres_time32), "clock_getres" },
+[215] = { 2, TCL, SEN(clock_settime32), "clock_settime" },
+[216] = { 2, TCL, SEN(clock_gettime32), "clock_gettime" },
+[217] = { 2, TCL, SEN(clock_getres_time32), "clock_getres" },
[218] = { 4, 0, SEN(clock_nanosleep_time32), "clock_nanosleep" },
[219] = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" },
[220] = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" },
@@ -312,7 +312,7 @@
[303] = { 4, 0, SEN(prlimit64), "prlimit64" },
[304] = { 5, TD|TF, SEN(name_to_handle_at), "name_to_handle_at" },
[305] = { 3, TD, SEN(open_by_handle_at), "open_by_handle_at" },
-[306] = { 2, 0, SEN(clock_adjtime32), "clock_adjtime" },
+[306] = { 2, TCL, SEN(clock_adjtime32), "clock_adjtime" },
[307] = { 1, TD, SEN(syncfs), "syncfs" },
[308] = { 4, TN, SEN(sendmmsg), "sendmmsg" },
[309] = { 6, 0, SEN(process_vm_readv), "process_vm_readv" },