* [Qemu-devel] [PULL 0/1] Tracing patches
@ 2016-11-29 10:07 Stefan Hajnoczi
2016-11-29 10:07 ` [Qemu-devel] [PULL 1/1] configure: fix LTTng UST tracing backend detection Stefan Hajnoczi
2016-11-29 10:21 ` [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2016-11-29 10:07 UTC (permalink / raw)
To: qemu-devel; +Cc: Peter Maydell, Stefan Hajnoczi
The following changes since commit 00227fefd2059464cd2f59aed29944874c630e2f:
Update version for v2.8.0-rc1 release (2016-11-22 22:29:08 +0000)
are available in the git repository at:
git://github.com/stefanha/qemu.git tags/tracing-pull-request
for you to fetch changes up to c79ed23df5090294a81fd66f67632e4535fb3164:
configure: fix LTTng UST tracing backend detection (2016-11-29 09:36:12 +0000)
----------------------------------------------------------------
----------------------------------------------------------------
Francis Deslauriers (1):
configure: fix LTTng UST tracing backend detection
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
2.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [PULL 1/1] configure: fix LTTng UST tracing backend detection
2016-11-29 10:07 [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
@ 2016-11-29 10:07 ` Stefan Hajnoczi
2016-11-29 10:21 ` [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2016-11-29 10:07 UTC (permalink / raw)
To: qemu-devel; +Cc: Peter Maydell, Francis Deslauriers, Stefan Hajnoczi
From: Francis Deslauriers <francis.deslauriers@efficios.com>
The detection program needs to be linked with -ldl to build succesfully
with recent versions of LTTng-UST.
We also need to add -ldl to the libs required to build the LTTng-UST
backend (lttng_ust_libs).
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Message-id: 1480348337-24271-1-git-send-email-francis.deslauriers@efficios.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 5e66828..89df5c4 100755
--- a/configure
+++ b/configure
@@ -4305,11 +4305,11 @@ if have_backend "ust"; then
#include <lttng/tracepoint.h>
int main(void) { return 0; }
EOF
- if compile_prog "" "" ; then
+ if compile_prog "" "-Wl,--no-as-needed -ldl" ; then
if $pkg_config lttng-ust --exists; then
lttng_ust_libs=$($pkg_config --libs lttng-ust)
else
- lttng_ust_libs="-llttng-ust"
+ lttng_ust_libs="-llttng-ust -ldl"
fi
if $pkg_config liburcu-bp --exists; then
urcu_bp_libs=$($pkg_config --libs liburcu-bp)
--
2.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [Qemu-devel] [PULL 0/1] Tracing patches
2016-11-29 10:07 [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
2016-11-29 10:07 ` [Qemu-devel] [PULL 1/1] configure: fix LTTng UST tracing backend detection Stefan Hajnoczi
@ 2016-11-29 10:21 ` Stefan Hajnoczi
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2016-11-29 10:21 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel, Peter Maydell
[-- Attachment #1: Type: text/plain, Size: 944 bytes --]
On Tue, Nov 29, 2016 at 10:07:23AM +0000, Stefan Hajnoczi wrote:
> The following changes since commit 00227fefd2059464cd2f59aed29944874c630e2f:
>
> Update version for v2.8.0-rc1 release (2016-11-22 22:29:08 +0000)
>
> are available in the git repository at:
>
> git://github.com/stefanha/qemu.git tags/tracing-pull-request
>
> for you to fetch changes up to c79ed23df5090294a81fd66f67632e4535fb3164:
>
> configure: fix LTTng UST tracing backend detection (2016-11-29 09:36:12 +0000)
>
> ----------------------------------------------------------------
>
> ----------------------------------------------------------------
>
> Francis Deslauriers (1):
> configure: fix LTTng UST tracing backend detection
>
> configure | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --
> 2.9.3
>
>
Thanks, applied to my staging tree:
https://github.com/stefanha/qemu/commits/staging
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-29 10:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-29 10:07 [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
2016-11-29 10:07 ` [Qemu-devel] [PULL 1/1] configure: fix LTTng UST tracing backend detection Stefan Hajnoczi
2016-11-29 10:21 ` [Qemu-devel] [PULL 0/1] Tracing patches Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).