[lttng-dev] Errors compiling converted tp file

Yan Grange ygrange at gmail.com
Fri Dec 12 05:59:40 EST 2014


Let me start by thanking you for all the support you give (it is impressingly fast).

So if I look in the repo, with the ppa installed, I can't find liburcu:

$ cat /etc/apt/sources.list.d/lttng-ppa-precise.list
deb http://ppa.launchpad.net/lttng/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/lttng/ppa/ubuntu precise main

(I have asked my admin to do an apt-get update)

$ apt-cache search lttng
lttng-modules-dkms - Linux Trace Toolkit (LTTng) kernel modules (DKMS)
lttng-tools - LTTng control and utility programs
liblttng-ust0 - LTTng 2.0 Userspace Tracer (libraries)
liblttng-ust-dev - LTTng 2.0 Userspace Tracer (development files)
liblttng-ctl-dev - LTTng control and utility library (development files)
liblttng-ctl0 - LTTng control and utility library
liblttng-ust-java-jni - LTTng 2.0 Userspace Tracer (JNI interface)
liblttng-ust-java - LTTng 2.0 Userspace Tracer (Java support library)
python-lttng - Python bindings for LTTng
liblttng-ust-ctl2 - LTTng 2.0 Userspace Tracer (trace control library)

$ apt-cache search liburcu
liburcu-dev - a userspace RCU (read-copy-update) library - development files
liburcu1 - a userspace RCU (read-copy-update) library
liburcu2 - a userspace RCU (read-copy-update) library

So it looks like my aptitude is not aware of a package called liburcu without a postfix… Even if I'd purge and reinstall (which seems like a very good idea) I don't see if I can access the right library this way.


Yan Grange

On 11 dec. 2014, at 18:08, Jérémie Galarneau <jeremie.galarneau at efficios.com> wrote:

> On Thu, Dec 11, 2014 at 8:56 AM, Yan Grange <ygrange at gmail.com> wrote:
>> Hi,
>> I can't really make out
>>>> However it actually works to create a header file from a tp file and compile (and run) the code. However I now get in trouble when executing:
>>>> $ lttng list --userspace
>>>> Error: Unable to list UST events: Undefined command
>>>> Error: Command error
>>>> So I guess something still went somewhat wrong but I can't really see what.
>>>> Yan Grange
>>>  In order to trace user-space, you must install, in sequence, the following packages: userspace-rcu, lttng-ust, lttng-tools.  Was this done?
>> I tried to install the right packages but there don't seem to be packages named like that in either the ubuntu repository or the ppa provided by you.
>> I have the following packages installed:
>> lttng-tools
>> liblttng-ust0
>> liblttng-ust-dev
>> liblttng-ust-ctl2
>> liblttng-ctl0
>> liburcu-dev
>> liburcu2
> Some of these packages appear to be conflicting. You'd be better off
> removing them all and starting fresh from the PPA.
> Jérémie
>> With all this installed, I still don't get it to work.
>> Cheers
>> Yan Grange
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> -- 
> Jérémie Galarneau
> EfficiOS Inc.
> http://www.efficios.com

More information about the lttng-dev mailing list