libsysprof: add type system category

Include various introspection and GObject things within that.
This commit is contained in:
Christian Hergert
2023-08-04 14:25:46 -07:00
parent 40e8a02cab
commit dc560d6de5
4 changed files with 62 additions and 0 deletions

View File

@ -71,6 +71,24 @@ g_io_* io inherit
g_zlib_* io inherit
GObject:
g_enum_register_* type-system inherit
g_enum_complete_* type-system inherit
g_enum_get_* type-system inherit
g_flags_register_* type-system inherit
g_flags_complete_* type-system inherit
g_flags_get_* type-system inherit
g_type_* type-system inherit
g_param_spec_* type-system inherit
g_pointer_type_* type-system inherit
g_boxed_type_* type-system inherit
g_value_type_compatible type-system inherit
g_value_type_transformable type-system inherit
g_value_init type-system inherit
g_value_fits_pointer type-system inherit
g_value_register_transform_func type-system inherit
GTK 4:
gsk_gl_command_queue* graphics inherit
@ -130,6 +148,8 @@ gtk_icon_* icons inherit
load_theme_thread icons inherit
load_icon_thread icons inherit
gtk_param_spec_* type-system inherit
GtkSourceView:
update_syntax layout inherit
@ -140,6 +160,43 @@ Harfbuzz:
* layout inherit
Introspection:
g_arg_* type-system inherit
g_base_* type-system inherit
g_constant_* type-system inherit
g_enum_* type-system inherit
g_field_* type-system inherit
g_info_* type-system inherit
g_interface_* type-system inherit
g_object_* type-system inherit
g_property_* type-system inherit
g_registered_type_* type-system inherit
g_signal_* type-system inherit
g_struct_* type-system inherit
g_type_* type-system inherit
g_union_* type-system inherit
g_vfunc_* type-system inherit
g_function_invoker_* type-system inherit
g_function_info_get_flags type-system inherit
g_function_info_get_property type-system inherit
g_function_info_get_symbol type-system inherit
g_function_info_get_vfunc type-system inherit
g_callable_info_can_* type-system inherit
g_callable_info_get_* type-system inherit
g_callable_info_is_* type-system inherit
g_callable_info_iterate* type-system inherit
g_callable_info_load* type-system inherit
g_callable_info_may_* type-system inherit
g_callable_info_skip_* type-system inherit
g_callable_info_create_* type-system inherit
g_callable_info_destroy_* type-system inherit
g_typelib_* type-system inherit
g_irepository_* type-system inherit
JS:
* javascript inherit

View File

@ -83,6 +83,7 @@ typedef enum _SysprofCallgraphCategory
SYSPROF_CALLGRAPH_CATEGORY_MAIN_LOOP,
SYSPROF_CALLGRAPH_CATEGORY_MEMORY,
SYSPROF_CALLGRAPH_CATEGORY_PAINT,
SYSPROF_CALLGRAPH_CATEGORY_TYPE_SYSTEM,
SYSPROF_CALLGRAPH_CATEGORY_UNWINDABLE,
SYSPROF_CALLGRAPH_CATEGORY_WINDOWING,

View File

@ -188,6 +188,9 @@ sysprof_category_summary_get_category_name (SysprofCategorySummary *self)
case SYSPROF_CALLGRAPH_CATEGORY_PAINT:
return _("Paint");
case SYSPROF_CALLGRAPH_CATEGORY_TYPE_SYSTEM:
return _("Type System");
case SYSPROF_CALLGRAPH_CATEGORY_UNWINDABLE:
return _("Unwindable");

View File

@ -135,6 +135,7 @@ sysprof_category_icon_class_init (SysprofCategoryIconClass *klass)
gdk_rgba_parse (&category_colors[SYSPROF_CALLGRAPH_CATEGORY_MAIN_LOOP], "#5e5c64");
gdk_rgba_parse (&category_colors[SYSPROF_CALLGRAPH_CATEGORY_MEMORY], "#f9f06b");
gdk_rgba_parse (&category_colors[SYSPROF_CALLGRAPH_CATEGORY_PAINT], "#2ec27e");
gdk_rgba_parse (&category_colors[SYSPROF_CALLGRAPH_CATEGORY_TYPE_SYSTEM], "#241f31");
gdk_rgba_parse (&category_colors[SYSPROF_CALLGRAPH_CATEGORY_WINDOWING], "#c64600");
}