instrumentation: v4l2: remove compatibility code
[lttng-modules.git] / instrumentation / events / lttng-module / v4l2.h
index ac6d63627a11453d63db02bb597c6581ae523800..5e5bae165b7d55716fb3af765dac67d3c76a8f3c 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM v4l2
 
@@ -19,7 +20,7 @@ LTTNG_TRACEPOINT_EVENT_CLASS(v4l2_class,
                ctf_integer(u32, bytesused, buf->bytesused)
                ctf_integer(u32, flags, buf->flags)
                ctf_integer(u32, field, buf->field)
-               ctf_integer(s64, timestamp, timeval_to_ns(&buf->timestamp))
+               ctf_integer(s64, timestamp, v4l2_buffer_get_timestamp(buf))
                ctf_integer(u32, timecode_type, buf->timecode.type)
                ctf_integer(u32, timecode_flags, buf->timecode.flags)
                ctf_integer(u8, timecode_frames, buf->timecode.frames)
This page took 0.023672 seconds and 4 git commands to generate.