Fix: Dump executable base-address with readlink
authorPaul Woegerer <paul_woegerer@mentor.com>
Tue, 25 Feb 2014 09:47:00 +0000 (10:47 +0100)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 25 Feb 2014 10:16:34 +0000 (05:16 -0500)
commit6d0c2f84f1ec7f09ecfc2da1bb6145c0b7b71e26
tree73218ce6d2b5aa999bd6ee684dfc6ee4c879f8ed
parent072886c488d5edca678b10ed827bc8960323cc99
Fix: Dump executable base-address with readlink

The previous approach only worked if the traced executable was invoked
via its fully qualified path. Using readlink to determine the full
qualified path of the traced executable works reliably even when the
traced executable is started via PATH lookup.

Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-baddr.c
This page took 0.024501 seconds and 4 git commands to generate.