profiler: Always mark events with the kind

This commit is contained in:
Alexander Larsson 2020-02-11 19:51:49 +01:00
parent 9062607d5f
commit 36808e0c81

View File

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