clutter/actor: Adjust trace actor name for better filtering
Tracy can filter its statistics by user text, in our case by span description. It's useful to filter by actor type and name, and not so much by the pointer. So, remove it, and also reduce the amount of punctuation. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3417>
This commit is contained in:
parent
b0691d581a
commit
39e3415912
1 changed files with 2 additions and 3 deletions
|
@ -1008,11 +1008,10 @@ _clutter_actor_get_debug_name (ClutterActor *actor)
|
|||
|
||||
if (G_UNLIKELY (priv->debug_name == NULL))
|
||||
{
|
||||
priv->debug_name = g_strdup_printf ("<%s>[<%s>:%p]",
|
||||
priv->debug_name = g_strdup_printf ("%s [%s]",
|
||||
priv->name != NULL ? priv->name
|
||||
: "unnamed",
|
||||
G_OBJECT_TYPE_NAME (actor),
|
||||
actor);
|
||||
G_OBJECT_TYPE_NAME (actor));
|
||||
}
|
||||
|
||||
retval = priv->debug_name;
|
||||
|
|
Loading…
Reference in a new issue