From 799f4ffcfd94b4c122d5050a9fdeb0c9619e7cdc Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 10 May 2019 22:27:59 +0000 Subject: [PATCH] Introduce kernel_timex64_t This is going to be used to implement clock_adjtime64 parser. * kernel_timex.h (kernel_timex64_t): New type. --- kernel_timex.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/kernel_timex.h b/kernel_timex.h index e8f799c8..ea77e1da 100644 --- a/kernel_timex.h +++ b/kernel_timex.h @@ -8,6 +8,36 @@ #ifndef STRACE_KERNEL_TIMEX_H # define STRACE_KERNEL_TIMEX_H +typedef struct { + unsigned int modes; + int pad0; + long long offset; + long long freq; + long long maxerror; + long long esterror; + int status; + int pad1; + long long constant; + long long precision; + long long tolerance; + struct { + long long tv_sec; + long long tv_usec; + } time; + long long tick; + long long ppsfreq; + long long jitter; + int shift; + int pad2; + long long stabil; + long long jitcnt; + long long calcnt; + long long errcnt; + long long stbcnt; + int tai; + int pad3[11]; +} kernel_timex64_t; + # if HAVE_ARCH_TIME32_SYSCALLS typedef struct { -- 2.40.0