From 36808e0c815f069ff34d14c93368c4018fafdc56 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 11 Feb 2020 19:51:49 +0100 Subject: [PATCH] profiler: Always mark events with the kind --- gdk/gdksurface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c index 10046c4ca1..1f554676a5 100644 --- a/gdk/gdksurface.c +++ b/gdk/gdksurface.c @@ -4110,7 +4110,7 @@ add_event_mark (GdkEvent *event, } else { - gdk_profiler_add_mark (time * 1000L, duration * 1000L, "event", message); + gdk_profiler_add_mark (time * 1000L, duration * 1000L, "event", message ? message : kind); } g_free (message);