Fix: set soinfo_data's vdso flag correctly in base address statedump
authorAntoine Busque <abusque@efficios.com>
Tue, 30 Jun 2015 21:59:01 +0000 (17:59 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 30 Jun 2015 22:31:52 +0000 (18:31 -0400)
The vdso flag is set to 0 when the executable can be found on disk.

Signed-off-by: Antoine Busque <abusque@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-statedump.c

index 4faee07d0017c58eb9d595fdcce3e6524e913a7b..37f067ffa4cb5d3daf4bbeb1260ca1cc0c8b5110 100644 (file)
@@ -191,6 +191,8 @@ int extract_soinfo_events(struct dl_phdr_info *info, size_t size, void *_data)
                                snprintf(resolved_path, PATH_MAX - 1, "[%s]",
                                        info->dlpi_name);
                                so_data.vdso = 1;
+                       } else {
+                               so_data.vdso = 0;
                        }
                }
 
This page took 0.02491 seconds and 4 git commands to generate.