From d35259e3b2aaa6664bbef2fa256eedce2ea5710b Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Thu, 21 May 2026 16:45:11 -0500 Subject: [PATCH] trace: Fix typo in double annotations They're setting the float value instead of the double value, which leads to corrupt output. Signed-off-by: Derek Foreman --- libweston/perfetto/annotations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/perfetto/annotations.c b/libweston/perfetto/annotations.c index b35afc99d..a66a2eec9 100644 --- a/libweston/perfetto/annotations.c +++ b/libweston/perfetto/annotations.c @@ -137,7 +137,7 @@ do_annotate_double(struct weston_debug_annotations *annots, struct weston_debug_annotation *annot = &annots->annots[annots->count]; annot->type = WESTON_DEBUG_ANNOTATION_DOUBLE_VAL; - annot->fvalue = value; + annot->dvalue = value; annot->parent = parent; annot->key = key; annot->key_size = key_size;