From: Antoine Busque Date: Tue, 30 Jun 2015 21:59:01 +0000 (-0400) Subject: Fix: set soinfo_data's vdso flag correctly in base address statedump X-Git-Tag: v2.7.0-rc1~7 X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=89be5359b36d641549fa5aaf646c059b6212c315 Fix: set soinfo_data's vdso flag correctly in base address statedump The vdso flag is set to 0 when the executable can be found on disk. Signed-off-by: Antoine Busque Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/lttng-ust-statedump.c b/liblttng-ust/lttng-ust-statedump.c index 4faee07d..37f067ff 100644 --- a/liblttng-ust/lttng-ust-statedump.c +++ b/liblttng-ust/lttng-ust-statedump.c @@ -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; } }