fix: use timespec64 on kernels that have it
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 24 Feb 2020 19:50:20 +0000 (14:50 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Feb 2020 21:50:25 +0000 (16:50 -0500)
commit25cc7051a7633fa0245d928f853c0e8b9ea925ca
tree4a3c94c1def48142e28fc2f8c99a9f38e4aa5c9a
parenta117385f9e780195515a84d585658431dc3556b4
fix: use timespec64 on kernels that have it

This fixes v5.6 which has hidden 'struct timespec' from kernel code and
makes 32bit archs y2038 compliant on v3.17 and newer.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I1daedc4a93cbbebb8f5a1d99c4619cb27f6a9e07
lttng-events.c
wrapper/time.h [new file with mode: 0644]
This page took 0.026108 seconds and 4 git commands to generate.