[lttng-dev] Errors compiling converted tp file
Thibault, Daniel
Daniel.Thibault at drdc-rddc.gc.ca
Wed Dec 10 10:51:16 EST 2014
----------------------------------------------------------------------
Date: Wed, 10 Dec 2014 16:16:06 +0100
> Thanks for that. I have asked our sysadmin to install a newer version via this method. Even though he gets several severe-lloking errors in this process
>
> $ apt-get install liblttng-ust-dev
>
> Building initial module for 3.2.0-61-generic
> Errors were encountered while processing:
> lttng-modules-dkms
> Error! Build of lttng-probe-printk.ko failed for: 3.2.0-61-generic (x86_64)
>
> In the make log, we find the following three lines:
>
> /var/lib/dkms/lttng-modules/2.5.x+stable+bzr633+pack21+201412020446~ubuntu12.04.1/build/probes/Makefile:30: File /usr/src/linux-headers-3.2.0-61-generic/virt/kvm/iodev.h not found. Probe "kvm" x86-specific is disabled. Use full kernel source tree to enable it.
> /var/lib/dkms/lttng-modules/2.5.x+stable+bzr633+pack21+201412020446~ubuntu12.04.1/build/probes/Makefile:142: Files /usr/src/linux-headers-3.2.0-61-generic/fs/btrfs/*.h not found. Probe "btrfs" is disabled. Use full kernel source tree to enable it.
> /var/lib/dkms/lttng-modules/2.5.x+stable+bzr633+pack21+201412020446~ubuntu12.04.1/build/probes/Makefile:158: Files /usr/src/linux-headers-3.2.0-61-generic/fs/ext4/*.h not found. Probe "ext4" is disabled. Use full kernel source tree to enable it.
>
> The full kernel source tree is already installed.
Those three errors are inconsequential; they simply mean your kernel does not support kvm nor the btrfs and ext4 file systems (a common occurrence).
> 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?
Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
RDDC - Centre de recherches de Valcartier | DRDC - Valcartier Research Centre
2459 route de la Bravoure
Québec QC G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada | Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>
More information about the lttng-dev
mailing list