Eugene Syromyatnikov 9baa6bcc88 Print ISO 8601 time for wall clock time values
Add an argument to print_time* routines that signalises, whether
the time value is wall clock time or not.

* aio.c (print_io_getevents): Add an argument to print_timespec call.
* defs.h (print_timeval32_t, print_timeval32, print_itimerval32): Add
"bool rtc" argument.
* desc.c (decode_select): Add bool argument to print_tv_ts callback
function argument.
* futex.c (SYS_FUNC(futex)) <case FUTEX_WAIT>: Call print_timespec with
rtc=false, as the timestamp is always relative.
<case FUTEX_LOCK_PI>: Call print_timespec with rtc=true, as the timeout
is always absolute.
<case FUTEX_WAIT_BITSET, case FUTEX_WAIT_REQUEUE_PI>: Call
print_timespec with rtc set to true when op has FUTEX_CLOCK_REALTIME
flag.
* ipc_sem.c (SYS_FUNC(semtimedop)): Call print_timespec with rtc=false,
as timeout is always relative.
* linux/dummy.h (sys_clock_getres, sys_stime): Remove.
* mmsghdr.c (SYS_FUNC(recvmmsg)): Call print_timespec with rtc=false, as
timeout is relative.
* mq.c (SYS_FUNC(mq_timedsend), SYS_FUNC(mq_timedreceive)): Call
print_timespec with rtc=true, as timeout is absolute.
* msghdr.c (print_scm_timestamp, print_scm_timestampns,
print_scm_timestamping): Call print_struct_timeval_data_size,
print_struct_timespec_data_size, print_struct_timespec_array_data_size
with rtc=true as timestamps presumed absolute.
* poll.c (SYS_FUNC(ppoll)): Call print_timespec with rtc=false, as
timeout is relative.
* print_time.c (print_time_t): New function.
(SYS_FUNC(time)): Use print_time_t for printing time.
(SYS_FUNC(stime)): New function.
* print_timespec.c (print_timespec_t, print_struct_timespec_data_size,
print_struct_timespec_array_data_size, print_timespec): Add rtc argument,
handle it.
(print_timespec_t_utime): Call print_timespec_t with rtc=false when
xlat_style is not abbreviated, call print_timespec_t with rtc=true
instead of manual time stamp printing.
(print_itimerspec): Call print_timespec_t with rtc=false.
* print_timeval.c (print_timeval_t, print_struct_timeval_data_size,
print_timeval, print_itimerval, print_timeval32_t, print_timeval32):
Add rtc argument, handle it.
(print_timeval_t_utime, print_timeval32_t_utime): Remove.
(print_struct_timeval): New function.
(print_timeval_utimes): Use print_struct_timeval instead of
print_timeval_t_utime.
* print_timex.c (print_timex): Add rtc argument, handle it.
* printrusage.c (printrusage): Call print_struct_timeval with rtc=false.
* sched.c (sched_rr_get_interval): Call print_timespec with rtc=false.
* signal.c (rt_sigtimedwait): Call print_timespec with rtc=false.
* time.c: Include "xlat/clocknames.h" under XLAT_MACROS_ONLY.
(gettimeofday, settimeofday): Call print_timeval with rtc=true.
(osf_gettimeofday, osf_settimeofday): Call print_timeval32 with rtc=true.
(nanosleep): Call print_timespec with rtc=false.
(getitimer, setitimer): Call print_itimerval with rtc=false.
(osf_getitimer, osf_setitimer): Call print_itimerval32 wirh rtc=false.
(do_adjtimex): Add rtc argument, handle it.
(is_rtcid): New function.
(clock_settime, clock_gettime): Call print_timespec with rtc=true if 0th
argument is a real-time clock (as indicated by is_rtcid).
(SYS_FUNC(clock_getres)): New syscall decoder.
(SYS_FUNC(clock_nanosleep)): Call print_timespec with rtc=true if clock
is realtime (as indicated by is_rtcid) and TIMER_ABSTIME is set in flags.
(SYS_FUNC(clock_adjtime)): Call do_adjtimex with rtc=true if clock is
realtime.
* tests/adjtimex.c: Update expected output.
* tests/clock_nanosleep.c: Likewise.
2018-10-07 06:00:36 +02:00
..
2018-09-27 07:24:03 +02:00
2018-02-13 22:00:00 +00:00
2017-03-31 23:25:32 +00:00
2018-06-14 11:00:00 +00:00
2018-08-31 19:33:29 +02:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-08-31 23:05:03 +02:00
2016-10-29 02:54:01 +03:00
2016-09-10 22:58:40 +00:00
2018-08-12 22:22:32 +00:00
2017-04-21 19:49:03 +00:00
2017-05-22 17:33:51 +00:00
2016-03-12 23:52:52 +00:00
2016-03-12 23:52:52 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-06-12 15:47:39 +00:00
2017-09-05 10:09:10 +02:00
2018-02-13 22:00:00 +00:00
2015-08-01 22:23:58 +00:00
2015-08-01 22:23:58 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2016-10-30 22:54:27 +00:00
2016-10-30 22:54:27 +00:00
2016-10-30 22:54:27 +00:00
2016-10-30 22:54:27 +00:00
2018-06-14 11:00:00 +00:00
2016-09-20 00:23:10 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-08-06 11:26:52 +00:00
2017-08-06 11:26:52 +00:00
2018-04-05 01:40:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-09-24 07:32:11 +02:00
2018-02-13 22:00:00 +00:00
2016-01-05 23:17:07 +00:00
2017-06-17 22:54:08 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-04-11 04:04:37 +00:00
2017-04-11 04:04:37 +00:00
2017-05-22 17:33:51 +00:00
2018-09-17 20:12:02 +02:00
2017-05-22 17:33:51 +00:00
2016-04-21 17:31:05 +00:00
2018-02-13 22:00:00 +00:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2018-08-31 23:05:03 +02:00
2018-09-24 03:58:51 +02:00
2018-09-24 03:58:51 +02:00
2018-09-24 03:58:51 +02:00
2018-09-24 03:58:51 +02:00
2018-09-24 03:58:51 +02:00
2018-09-24 03:58:51 +02:00
2018-08-31 23:05:03 +02:00
2018-09-24 03:58:51 +02:00
2018-04-05 01:40:00 +00:00
2018-08-28 13:44:50 +02:00
2018-02-13 22:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-05-28 17:34:50 +00:00
2018-06-14 11:00:00 +00:00
2018-05-09 22:01:45 +00:00
2017-09-17 12:04:11 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-06 10:10:43 +00:00
2015-12-10 02:06:25 +00:00
2017-11-22 00:38:03 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-04-27 23:16:33 +00:00
2018-09-27 07:24:03 +02:00
2018-02-13 22:00:00 +00:00
2017-09-05 10:09:10 +02:00
2017-01-12 22:46:28 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-09-05 10:09:10 +02:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-04-05 01:40:00 +00:00
2017-06-17 22:54:08 +00:00
2018-06-14 11:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-09-05 10:09:10 +02:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-09-05 10:09:10 +02:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2016-01-06 11:33:13 +00:00
2017-05-22 17:33:51 +00:00
2018-06-14 11:00:00 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2016-11-22 01:46:07 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-04-05 01:40:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-07-02 00:11:31 +00:00
2017-06-17 22:54:08 +00:00
2018-08-31 23:05:03 +02:00
2018-02-13 22:00:00 +00:00
2017-09-05 10:09:10 +02:00
2018-08-31 23:05:03 +02:00
2018-08-31 23:05:03 +02:00
2017-06-17 22:54:08 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-08-12 22:22:32 +00:00
2018-08-12 22:22:32 +00:00
2018-08-12 22:22:32 +00:00
2018-04-05 01:40:00 +00:00
2017-06-17 22:54:08 +00:00
2017-05-22 17:33:51 +00:00
2018-06-14 11:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-04-21 19:49:03 +00:00
2018-04-05 01:40:00 +00:00
2018-06-14 11:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-09-05 10:09:10 +02:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-01-23 23:17:02 +00:00
2018-04-05 01:40:00 +00:00
2017-04-21 19:49:03 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-04-05 01:40:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2018-06-14 11:00:00 +00:00
2018-09-17 20:12:02 +02:00
2018-02-13 22:00:00 +00:00
2017-08-16 16:25:03 +00:00
2015-07-18 00:01:40 +00:00
2017-06-17 22:54:08 +00:00
2017-05-22 17:33:51 +00:00
2017-05-21 14:37:48 +00:00
2018-08-12 22:22:32 +00:00
2018-06-14 11:00:00 +00:00
2018-08-31 23:05:03 +02:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2016-10-30 22:54:27 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-06-17 22:54:08 +00:00
2017-07-21 02:49:24 +00:00
2016-12-01 00:05:09 +00:00
2018-09-23 12:35:53 +02:00
2017-05-22 17:33:51 +00:00
2018-09-27 07:24:03 +02:00
2018-06-14 11:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-04-05 01:40:00 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-06-17 22:54:08 +00:00
2017-09-05 10:09:10 +02:00
2017-04-25 14:35:47 +00:00
2017-04-21 19:49:03 +00:00
2018-09-17 20:12:02 +02:00
2017-09-05 10:09:10 +02:00
2016-07-28 00:06:46 +00:00
2017-05-22 17:33:51 +00:00
2016-01-05 23:24:50 +00:00
2018-02-13 22:00:00 +00:00
2016-01-05 23:24:36 +00:00
2015-03-31 20:52:41 +00:00
2015-03-31 20:52:41 +00:00
2017-03-16 13:46:36 +00:00
2017-05-22 17:33:51 +00:00
2017-04-17 00:17:00 +00:00
2016-09-05 15:58:35 +00:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2017-06-17 22:54:08 +00:00
2017-09-05 10:09:10 +02:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2018-08-12 22:22:32 +00:00
2018-09-17 20:12:02 +02:00
2018-08-31 23:05:03 +02:00
2018-08-12 22:22:32 +00:00