[sysprof] libsysprof: add some symbol libraries
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] libsysprof: add some symbol libraries
- Date: Wed, 29 May 2019 22:41:57 +0000 (UTC)
commit 4f00ec5e4965ce1d9fb6599f5561e187238adae2
Author: Christian Hergert <chergert redhat com>
Date: Tue May 21 22:29:58 2019 -0700
libsysprof: add some symbol libraries
src/libsysprof/sysprof-elf-symbol-resolver.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/src/libsysprof/sysprof-elf-symbol-resolver.c b/src/libsysprof/sysprof-elf-symbol-resolver.c
index 71a9d44..b9ce142 100644
--- a/src/libsysprof/sysprof-elf-symbol-resolver.c
+++ b/src/libsysprof/sysprof-elf-symbol-resolver.c
@@ -181,14 +181,20 @@ guess_tag (SysprofElfSymbolResolver *self,
else if (strstr (map->filename, "/libgirepository-1.0."))
tag = g_quark_from_static_string ("Introspection");
+ else if (strstr (map->filename, "/libgtk-4."))
+ tag = g_quark_from_static_string ("Gtk 4");
+
else if (strstr (map->filename, "/libgtk-3."))
- tag = g_quark_from_static_string ("Gtk+");
+ tag = g_quark_from_static_string ("Gtk 3");
else if (strstr (map->filename, "/libgdk-3."))
- tag = g_quark_from_static_string ("Gdk");
+ tag = g_quark_from_static_string ("Gdk 3");
else if (strstr (map->filename, "/libgtksourceview-3.0"))
- tag = g_quark_from_static_string ("GtkSourceView");
+ tag = g_quark_from_static_string ("GtkSourceView-3");
+
+ else if (strstr (map->filename, "/libgtksourceview-4"))
+ tag = g_quark_from_static_string ("GtkSourceView-4");
else if (strstr (map->filename, "/libpixman-1"))
tag = g_quark_from_static_string ("Pixman");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]