Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-08 Thread Mathieu Desnoyers
- Original Message - > From: "Daniel Thibault" > To: "Mathieu Desnoyers" , "Alexandre > Montplaisir" > Cc: lttng-dev@lists.lttng.org > Sent: Monday, October 7, 2013 10:40:28 AM > Subject: RE: [lttng-dev] Making 32-bit user-space even

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-07 Thread Thibault, Daniel
-Message d'origine- De : Mathieu Desnoyers [mailto:mathieu.desnoy...@efficios.com] Envoyé : 7 octobre 2013 08:57 - Original Message - > From: "Alexandre Montplaisir" > Sent: Thursday, October 3, 2013 11:54:15 AM > > >On a different note, why does LTTng have 32- and 64-bit co

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-07 Thread Mathieu Desnoyers
- Original Message - > From: "Alexandre Montplaisir" > To: "Daniel Thibault" , > lttng-dev@lists.lttng.org > Sent: Thursday, October 3, 2013 11:54:15 AM > Subject: Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux > system

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-03 Thread Alexandre Montplaisir
>> The Debian/Ubuntu packages for liblttng-ust and liburcu are >> multiarch-enabled, so you can install the :i386 and :amd64 versions in >> parallel. That way they will be tracked by the package manager, and won't >> "linger around". >Except that the Ubuntu LTTng packages are hopelessly behin

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-03 Thread Thibault, Daniel
-Message d'origine- Date: Wed, 2 Oct 2013 19:07:56 + >>Closing observations: >> >>What's the best, easiest way to get the 32-bit versions of popt and uuid? > > Some -dev packages are also multiarch, for example I can install > libpopt-dev:amd64 and libpopt-dev:i386 at the same

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-02 Thread Alexandre Montplaisir
Hi Daniel, Interesting, thanks for documenting your adventure! Some little notes: On 13-10-02 03:07 PM, Thibault, Daniel wrote: >[...] > >Closing observations: > >What's the best, easiest way to get the 32-bit versions of popt and uuid? Some -dev packages are also multiarch, for exa

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-02 Thread Thibault, Daniel
Thanks for the help, I think I've cracked it now. There are a few minor nagging points, however. I'll get to those at the end of this post. Recap: How does one generate and capture 32-bit user-space events on a 64-bit system? The process consists essentially of making a 32-bit lttng-

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-02 Thread Woegerer, Paul
ling On 10/02/2013 04:35 PM, Thibault, Daniel wrote: > -Message d'origine- > De : Woegerer, Paul [mailto:paul_woege...@mentor.com] > Envoyé : 2 octobre 2013 03:38 > >> The 64-bit version of lttng-tools works just fine with both, 32-bit and >> 64-bit userspace applications. No need to comp

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-02 Thread Thibault, Daniel
-Message d'origine- De : Woegerer, Paul [mailto:paul_woege...@mentor.com] Envoyé : 2 octobre 2013 03:38 > The 64-bit version of lttng-tools works just fine with both, 32-bit and > 64-bit userspace applications. No need to compile it as 32-bit variant. > Instrumented 32-bit applications a

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-02 Thread Woegerer, Paul
Hi Daniel, Hi Jeremie I tried this on my x86_64 system some time ago (with 2.2.0-rc2) and it worked just fine. The only thing that was needed was to build 32-bit variants of urcu and lttng-ust (and also having all dependend libs as 32-bit variants on the system). The 64-bit version of lttng-tool

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-01 Thread Thibault, Daniel
-Message d'origine- De : jeremie.galarn...@gmail.com [mailto:jeremie.galarn...@gmail.com] Envoyé : 30 septembre 2013 18:34 >>The problem is the "incompatible /usr/local/lib/liblttng-ust.so". I even >> tried rebuilding the entire lttng suite (originally built *before* >> gcc-multilib

[lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-09-27 Thread Thibault, Daniel
I wanted to test the 32-bit UST event stream (to see if one can indeed have two consumer daemons serving the session, one for 64-bit user-space events, another for 32-bit user-space events), so I adapted the lttng-ust/doc/examples/easy-ust Makefile by making a new target: static32: static32.