[sysprof] libsysprof: add libc/libstdc++
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] libsysprof: add libc/libstdc++
- Date: Wed, 29 May 2019 22:50:57 +0000 (UTC)
commit 82f8872c1d648e67c78840a5ca32c5abe65afb28
Author: Christian Hergert <chergert redhat com>
Date: Tue May 28 22:55:42 2019 -0700
libsysprof: add libc/libstdc++
src/libsysprof/sysprof-elf-symbol-resolver.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/libsysprof/sysprof-elf-symbol-resolver.c b/src/libsysprof/sysprof-elf-symbol-resolver.c
index 15075d1..de1a4b7 100644
--- a/src/libsysprof/sysprof-elf-symbol-resolver.c
+++ b/src/libsysprof/sysprof-elf-symbol-resolver.c
@@ -172,6 +172,12 @@ guess_tag (SysprofElfSymbolResolver *self,
if (strstr (map->filename, "/libgobject-2.0."))
tag = g_quark_from_static_string ("GObject");
+ else if (strstr (map->filename, "/libc.so.6"))
+ tag = g_quark_from_static_string ("libc");
+
+ else if (strstr (map->filename, "/libstdc++.so.6"))
+ tag = g_quark_from_static_string ("stdc++");
+
else if (strstr (map->filename, "/libglib-2.0."))
tag = g_quark_from_static_string ("GLib");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]