From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Tue, 30 Jun 2015 22:34:57 +0000 (UTC) Subject: [lttng-dev] [PATCH lttng-ust] Fix: set soinfo_data's vdso flag correctly in base address statedump In-Reply-To: <1435701541-8013-1-git-send-email-abusque@efficios.com> References: <1435701541-8013-1-git-send-email-abusque@efficios.com> Message-ID: <993897493.1534.1435703697996.JavaMail.zimbra@efficios.com> merged into master, thanks! Mathieu ----- On Jun 30, 2015, at 5:59 PM, Antoine Busque abusque at efficios.com wrote: > The vdso flag is set to 0 when the executable can be found on disk. > > Signed-off-by: Antoine Busque > --- > liblttng-ust/lttng-ust-statedump.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/liblttng-ust/lttng-ust-statedump.c > b/liblttng-ust/lttng-ust-statedump.c > index 4faee07..37f067f 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; > } > } > > -- > 2.4.5 -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com