From 5d07696101b7520bde92b1eb68cf51387f10c159 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Thu, 23 Apr 2026 11:38:23 +0300 Subject: [PATCH] input: Add TL_POINTs for kernel timestamps at input initialization This basically starts tracking input event. From here on we can start flow tracking the event until it exits and is being delivered to the client. Signed-off-by: Marius Vlad --- libweston/input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libweston/input.c b/libweston/input.c index 2093fa834..951a4c558 100644 --- a/libweston/input.c +++ b/libweston/input.c @@ -52,6 +52,7 @@ #include "pointer-constraints-unstable-v1-server-protocol.h" #include "input-timestamps-unstable-v1-server-protocol.h" #include "tablet-unstable-v2-server-protocol.h" +#include "timeline.h" enum pointer_constraint_type { POINTER_CONSTRAINT_TYPE_LOCK, @@ -5976,6 +5977,7 @@ weston_input_event_init(struct weston_input_event *ievent, struct timespec *ts, WESTON_TRACE_FUNC_FLOW(&ievent->flow_id); + TL_POINT(seat->compositor, TLP_INPUT_KERNEL_TS, TLP_INPUT_EVENT(ievent), TLP_END); } WL_EXPORT void