[sysprof/sysprof-3-36] collector: fix mark name in collection



commit bafc733e6c6c8c971ceef38d603734dad4a24b2c
Author: Christian Hergert <chergert redhat com>
Date:   Fri Mar 13 15:31:51 2020 -0700

    collector: fix mark name in collection

 src/libsysprof-capture/sysprof-collector.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libsysprof-capture/sysprof-collector.c b/src/libsysprof-capture/sysprof-collector.c
index 916b88e..985fee7 100644
--- a/src/libsysprof-capture/sysprof-collector.c
+++ b/src/libsysprof-capture/sysprof-collector.c
@@ -406,7 +406,7 @@ sysprof_collector_mark (gint64       time,
         ev->frame.time = time;
         ev->duration = duration;
         g_strlcpy (ev->group, group, sizeof ev->group);
-        g_strlcpy (ev->name, message, sizeof ev->name);
+        g_strlcpy (ev->name, mark, sizeof ev->name);
         memcpy (ev->message, message, sl);
         ev->message[sl] = 0;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]