summaryrefslogtreecommitdiff
path: root/linux/xtensa
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2019-05-11 22:35:56 +0000
committerDmitry V. Levin <ldv@altlinux.org>2019-05-11 22:35:56 +0000
commitbfbcc4e0f00cbd466b86da7b8ecfbd4a76cddce7 (patch)
tree331ad4b1fc87ac8c34b6639f738e08316884fbe9 /linux/xtensa
parent9d893d25d47eb54d106a186b7b8d149a5a021a2b (diff)
downloadstrace-bfbcc4e0f00cbd466b86da7b8ecfbd4a76cddce7.tar.gz
Wire up *time64 system calls
* linux/32/syscallent.h [403...423]: Wire up clock_gettime64, clock_settime64, clock_adjtime64, clock_getres_time64, clock_nanosleep_time64, timer_gettime64, timer_settime64, timerfd_gettime64, timerfd_settime64, utimensat_time64, pselect6_time64, ppoll_time64, io_pgetevents_time64, recvmmsg_time64, mq_timedsend_time64, mq_timedreceive_time64, semtimedop_time64, rt_sigtimedwait_time64, futex_time64, and sched_rr_get_interval_time64 introduced by linux commit v5.1-rc1~160^2~2^2. * linux/arm/syscallent.h [403...423]: Likewise. * linux/hppa/syscallent.h [403...423]: Likewise. * linux/i386/syscallent.h [403...423]: Likewise. * linux/m68k/syscallent.h [403...423]: Likewise. * linux/microblaze/syscallent.h [403...423]: Likewise. * linux/mips/syscallent-n32.h [6403...6423]: Likewise. * linux/mips/syscallent-o32.h [4403...4423]: Likewise. * linux/powerpc/syscallent.h [403...423]: Likewise. * linux/s390/syscallent.h [403...423]: Likewise. * linux/sh/syscallent.h [403...423]: Likewise. * linux/sparc/syscallent.h [403...423]: Likewise. * linux/xtensa/syscallent.h [403...423]: Likewise. * linux/64/syscallent.h: Add a comment about syscall numbers reserved to sync up with other architectures. * linux/ia64/syscallent.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/powerpc64/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc64/syscallent.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * pathtrace.c (pathtrace_match_set): Handle SEN_utimensat_time64, SEN_pselect6_time64, SEN_ppoll_time64, SEN_mq_timedreceive_time64, SEN_mq_timedsend_time64, SEN_timerfd_gettime64, and SEN_timerfd_settime64. * syscall.c (dumpio): Handle SEN_mq_timedsend_time64, SEN_mq_timedreceive_time64, and SEN_recvmmsg_time64. * NEWS: Mention this.
Diffstat (limited to 'linux/xtensa')
-rw-r--r--linux/xtensa/syscallent.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/linux/xtensa/syscallent.h b/linux/xtensa/syscallent.h
index cd7e2e778..18ee0219c 100644
--- a/linux/xtensa/syscallent.h
+++ b/linux/xtensa/syscallent.h
@@ -348,3 +348,24 @@
[350] = { 1, 0, SEN(pkey_free), "pkey_free" },
[351] = { 5, TD|TF|TSTA, SEN(statx), "statx" },
[352] = { 4, 0, SEN(rseq), "rseq" },
+/* [353 ... 402] - reserved to sync up with other architectures */
+[403] = { 2, 0, SEN(clock_gettime64), "clock_gettime64" },
+[404] = { 2, 0, SEN(clock_settime64), "clock_settime64" },
+[405] = { 2, 0, SEN(clock_adjtime64), "clock_adjtime64" },
+[406] = { 2, 0, SEN(clock_getres_time64), "clock_getres_time64" },
+[407] = { 4, 0, SEN(clock_nanosleep_time64), "clock_nanosleep_time64"},
+[408] = { 2, 0, SEN(timer_gettime64), "timer_gettime64" },
+[409] = { 4, 0, SEN(timer_settime64), "timer_settime64" },
+[410] = { 2, TD, SEN(timerfd_gettime64), "timerfd_gettime64" },
+[411] = { 4, TD, SEN(timerfd_settime64), "timerfd_settime64" },
+[412] = { 4, TD|TF, SEN(utimensat_time64), "utimensat_time64" },
+[413] = { 6, TD, SEN(pselect6_time64), "pselect6_time64" },
+[414] = { 5, TD, SEN(ppoll_time64), "ppoll_time64" },
+[416] = { 6, 0, SEN(io_pgetevents_time64), "io_pgetevents_time64" },
+[417] = { 5, TN, SEN(recvmmsg_time64), "recvmmsg_time64" },
+[418] = { 5, TD, SEN(mq_timedsend_time64), "mq_timedsend_time64" },
+[419] = { 5, TD, SEN(mq_timedreceive_time64), "mq_timedreceive_time64"},
+[420] = { 4, TI, SEN(semtimedop_time64), "semtimedop_time64" },
+[421] = { 4, TS, SEN(rt_sigtimedwait_time64), "rt_sigtimedwait_time64"},
+[422] = { 6, 0, SEN(futex_time64), "futex_time64" },
+[423] = { 2, 0, SEN(sched_rr_get_interval_time64), "sched_rr_get_interval_time64" },