[lttng-dev] No trace files are generated for UST
Thibault, Daniel
Daniel.Thibault at drdc-rddc.gc.ca
Fri Dec 6 10:44:22 EST 2013
> As I'm using the custom image on x86 machine, i've kept the lib in /tmp/lttng-build-root/lib folder and this sample able to see the library as well.
>
> And the same way I able to create the trace files for kernel but not for ust. There were no dmesg as well.
>
> [...]
> root@/tmp # ldd sample
> linux-vdso.so.1 (0x00007fff2a135000)
> libdl.so.2 => /lib64/libdl.so.2 (0x00007fe2cccb5000)
> liblttng-ust.so.0 => /tmp/lttng-build-root/lib/liblttng-ust.so.0 (0x00007fe2cca51000)
> [...]
Try running sample using:
LD_PRELOAD=/tmp/lttng-build-root/lib/liblttng-ust.so.0 ./sample
If the LD_PRELOAD succeeds, we will know at least that liblttng-ust is reachable by sample.
The modules have nothing to do with UST: kernel and user-space tracing are essentially independent features.
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)
R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D Canada - Valcartier (DRDC Valcartier)
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