* [lttng-dev] [PATCH lttng-ust] Fix: set soinfo_data's vdso flag correctly in base address statedump
@ 2015-06-30 21:59 Antoine Busque
2015-06-30 22:34 ` Mathieu Desnoyers
0 siblings, 1 reply; 2+ messages in thread
From: Antoine Busque @ 2015-06-30 21:59 UTC (permalink / raw)
The vdso flag is set to 0 when the executable can be found on disk.
Signed-off-by: Antoine Busque <abusque at efficios.com>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lttng-dev] [PATCH lttng-ust] Fix: set soinfo_data's vdso flag correctly in base address statedump
2015-06-30 21:59 [lttng-dev] [PATCH lttng-ust] Fix: set soinfo_data's vdso flag correctly in base address statedump Antoine Busque
@ 2015-06-30 22:34 ` Mathieu Desnoyers
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2015-06-30 22:34 UTC (permalink / raw)
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 <abusque at efficios.com>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-30 22:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-30 21:59 [lttng-dev] [PATCH lttng-ust] Fix: set soinfo_data's vdso flag correctly in base address statedump Antoine Busque
2015-06-30 22:34 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox