From d837a7df1e2a81aa46452717dbd11e7b3c867bcb Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Thu, 13 Jul 2023 17:41:51 -0700 Subject: [PATCH] sysprof: show frame data for log entry --- src/sysprof/sysprof-logs-section.c | 2 ++ src/sysprof/sysprof-logs-section.ui | 28 +++++++++++++++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/src/sysprof/sysprof-logs-section.c b/src/sysprof/sysprof-logs-section.c index c10c0372..f5329d0a 100644 --- a/src/sysprof/sysprof-logs-section.c +++ b/src/sysprof/sysprof-logs-section.c @@ -24,6 +24,7 @@ #include +#include "sysprof-frame-utility.h" #include "sysprof-logs-section.h" struct _SysprofLogsSection @@ -85,6 +86,7 @@ sysprof_logs_section_class_init (SysprofLogsSectionClass *klass) gtk_widget_class_bind_template_callback (widget_class, format_severity); g_type_ensure (SYSPROF_TYPE_DOCUMENT_LOG); + g_type_ensure (SYSPROF_TYPE_FRAME_UTILITY); g_type_ensure (SYSPROF_TYPE_TIME_LABEL); g_type_ensure (SYSPROF_TYPE_TIME_SERIES); g_type_ensure (SYSPROF_TYPE_TIME_SPAN_LAYER); diff --git a/src/sysprof/sysprof-logs-section.ui b/src/sysprof/sysprof-logs-section.ui index e73d515f..b0aa4e4b 100644 --- a/src/sysprof/sysprof-logs-section.ui +++ b/src/sysprof/sysprof-logs-section.ui @@ -67,7 +67,7 @@ - + @@ -238,6 +238,32 @@ + + + + + + + + Details + + + + + + + + SysprofLogsSection + + + selection + + + + +