+/* SPDX-License-Identifier: GPL-2.0-only */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM v4l2
#if !defined(LTTNG_TRACE_V4L2_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_V4L2_H
-#include "../../../probes/lttng-tracepoint-event.h"
+#include <probes/lttng-tracepoint-event.h>
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)
#endif /* if !defined(LTTNG_TRACE_V4L2_H) || defined(TRACE_HEADER_MULTI_READ) */
/* This part must be outside protection */
-#include "../../../probes/define_trace.h"
+#include <probes/define_trace.h>