[lttng-dev] problem starting trace on arm target
David Goulet
david.goulet at polymtl.ca
Thu May 10 10:43:22 EDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Fahad,
So, it seems you don't have a consumer installed on your system that the
sessiond can access:
DEBUG3: Looking for a kernel consumer at these locations: [in
spawn_consumerd() at main.c:1678]
DEBUG3: 1) [in spawn_consumerd() at main.c:1679]
DEBUG3: 2) /usr/lib/lttng/libexec/lttng-consumerd [in
spawn_consumerd() at main.c:1680]
DEBUG3: 3) /usr/lib/lttng/libexec/lttng-consumerd [in
spawn_consumerd() at main.c:1681]
PERROR: kernel start consumer exec: No such file or directory [in
spawn_consumerd() at main.c:1795]
Also I'm starting to believe that you might have a memory limit problem since
you are hitting this:
PERROR: sendmsg: Bad file descriptor [in lttcomm_send_unix_sock() at
sessiond-comm.c:310]
PERROR: send consumer channel: Bad file descriptor [in
send_kconsumer_session_streams() at main.c:636]
PERROR: ioctl start session: No buffer space available [in
kernel_start_session() at kernel.c:397]
Because of that, the kernel start session command on the tracer fails... Can
you validate that you have enough memory during the commands ?
Moving the lttng-consumerd at the right location will at least help a bit :)
Thanks!
David
On 09/05/12 11:30 AM, Fahad Usman wrote:
> Hi David, here are the logs on the two terminals, Term1:
> http://pastebin.com/dYGCrGcb Term2: http://pastebin.com/4XCn4Asv
>
> Please let me know if you want any other info from me.
>
> -- Fahad
>
>
> On Wed, May 9, 2012 at 6:08 PM, David Goulet <dgoulet at efficios.com> wrote:
> Hi Fahad,
>
> This is error is a bit peculiar...
>
> Can you provide the full log of the session daemon like so.
>
> (term1) # lttng-sessiond -vvv
>
> (term2) the rest of the commands adding -vvv to "lttng" command line.
>
> Thanks! David
>
> On 09/05/12 08:20 AM, Fahad Usman wrote:
>>>> Hi, I am trying to use lttng-modules on an arm target, but when I try
>>>> to start tracing I get some errors like PERROR: sendmsg: Bad file
>>>> descriptor [in lttcomm_send_unix_sock() at sessiond-comm.c:310]
>>>> PERROR: send consumer channel: Bad file descriptor [in
>>>> send_kconsumer_session_streams() at main.c:636] please see pastebin
>>>> (http://pastebin.com/ivnvQWa2) for complete logs
>>>>
>>>> I am using Linux 2.6.38 on Freescale imx6 platform. Lttng-modules
>>>> 2.0.2 and lttng-tools 2.0.1
>>>>
>>>> -- Fahad
>>>>
>>>> _______________________________________________ lttng-dev mailing
>>>> list lttng-dev at lists.lttng.org
>>>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
> _______________________________________________ lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQEcBAEBAgAGBQJPq9QGAAoJEELoaioR9I02N0YH/17EdVFGWkhP+kqZJznvmv6/
+MebU8HiguKhpqYVcGjS4xw9HAR2hn3oZGAiIQSjbaDO1rhI9xWzguj+dq2gi3B4
9yjk7c6mfKMs09yqMdoWkQOmCCmnlazYZpjE0iqQxMhUC84hoPB+sBZDWBfA9nOX
UD/bNkNGZOk8+vaYN+twNeB/7iNdsgISeUwaZ/5GgfJ+lCp7YAY/QaF8EVyH3DP4
upXlyhQZoSqogmtnFJxRbhTgio/P9Z9mxwc/k5GqKypBAqI9BcXvuxwgsg6rLNMW
ixbGGzN/fPKn6lGW8Xv96YHFxTU1ZvC+TY06YFk3cV0amdOjkS8tOwZF/4A2K3g=
=Zj2o
-----END PGP SIGNATURE-----
More information about the lttng-dev
mailing list