Hi Jonathan, I'm not using buildroot nor Yokto. In order to build lttng-tools I ran: ./configure --prefix=/64_sw/git/zvi_vered/MY_PROJ/linux4.9.20/boot/rootfs make make install
This path contains a complete root file system (based on busybox) that is later copied to my target. On the target I ran: lttng-sessiond -vvv --verbose-consumer and got: .... I/O warning : failed to load external entity "/64_sw/git/zvi_vered/MY_PROJ/linux4.9.20/boot/rootfs/share/xml/lttng/session.xsd" XML Error: Failed to locate the main schema resource at '/64_sw/git/zvi_vered/MY_PROJ/linux4.9.20/boot/rootfs/share/xml/lttng/session.xsd'. Error: XSD parsing failed Error: Session load failed: Invalid session configuration DEBUG1 - 00:10:36.746330272 [1476/1618]: Accepting client command ... (in thread_manage_clients() at main.c:4374) Then I ran: lttng create my-kernel-session and got: .... DEBUG3 - 00:11:41.869875832 [1628/1628]: Looking for a kernel consumer at these locations: (in spawn_consumerd() at main.c:2429) DEBUG3 - 00:11:41.869901726 [1628/1628]: 1) NULL (in spawn_consumerd() at main.c:2430) DEBUG3 - 00:11:41.869908520 [1628/1628]: 2) /64_sw/git/zvi_vered/MY_PROJ/linux4.9.20/boot/rootfs/lib/lttng/libexec/lttng-consumerd (in spawn_consumerd() at main.c:2431) DEBUG3 - 00:11:41.869915959 [1628/1628]: 3) /64_sw/git/zvi_vered/MY_PROJ/linux4.9.20/boot/rootfs/lib/lttng/libexec/lttng-consumerd (in spawn_consumerd() at main.c:2432) DEBUG1 - 00:11:41.869971468 [1628/1628]: Could not find any valid consumerd executable (in spawn_consumerd() at main.c:2444) Error: Spawning consumerd failed I double checked: The target has /lib/lttng-libexec/lttng-consumerd But it looks for it in: /64_sw/git/zvi_vered/MY_PROJ/linux4.9.20/boot/rootfs/lib/lttng/libexec ] What is missing in my configuration ? Thank you, Zvika On Tue, May 14, 2019 at 9:04 PM Jonathan Rajotte-Julien < jonathan.rajotte-jul...@efficios.com> wrote: > > > > > > > > > > > I'm running under a 32 bit (x86) vanilla, 4.9.20 kernel with busybox > > > with the following lttng versions: > > I took some time to at least test on a 32 bit system (buildroot) just in > case > and everything seems to be working fine on a base installation. > > The log from lttng-sessiond should provides more information on why we > fail to > spawn the consumerd (wrong path, etc.). > > Cheers > > -- > Jonathan Rajotte-Julien > EfficiOS >
_______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev