]> granicus.if.org Git - strace/commit
Implement printers for kernel_timespec32_t
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 9 May 2019 22:03:30 +0000 (22:03 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 9 May 2019 22:03:30 +0000 (22:03 +0000)
commitf67026dda460948362aa91ec3b6cf9a521181f21
treed31bb95ebd99ae06abe61d4aa8e7edfd0f0cd860
parent7e4cb006252fd33dbfa9f6ef025acc6e9c28a29e
Implement printers for kernel_timespec32_t

They are going to be used to re-implement parsers of syscalls that deal
with 32-bit timespec.

* defs.h (print_timespec32_data_size, print_timespec32_array_data_size,
print_timespec32, sprint_timespec32, print_timespec32_utime_pair,
print_itimerspec32): New prototypes.
* print_timespec.h: New file based on print_timespec.c.
* print_timespec32.c: New file.
* Makefile.am (strace_SOURCES): Add them.
Makefile.am
defs.h
print_timespec.h [new file with mode: 0644]
print_timespec32.c [new file with mode: 0644]