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 <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad 2026-04-23 11:38:23 +03:00
parent a1ac3c2e8d
commit 5d07696101

View file

@ -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