mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
elf-symbol-resolver: add GObject Introspection tag
When we see addresses in libgobject-introspection, give them the "Introspection" tag to make it clear which library the symbol came from. This is particularly useful since so many functions overlap with g_ prefixes.
This commit is contained in:
@ -162,6 +162,9 @@ guess_tag (SpElfSymbolResolver *self,
|
||||
else if (strstr (map->filename, "/libgio-2.0."))
|
||||
tag = g_quark_from_static_string ("Gio");
|
||||
|
||||
else if (strstr (map->filename, "/libgirepository-1.0."))
|
||||
tag = g_quark_from_static_string ("Introspection");
|
||||
|
||||
else if (strstr (map->filename, "/libgtk-3."))
|
||||
tag = g_quark_from_static_string ("Gtk+");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user