<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello,<div><br></div><div>I ran the following command on the target (where my kernel is running):</div><div><br></div><div><pre class="gmail-commands" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:12px;line-height:15px;font-family:"Andale Mono WT","Andale Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L","Ubuntu Mono",Monaco,Consolas,"Lucida Console","Lucida Sans Typewriter","Courier New",Courier,monospace;vertical-align:baseline;background-color:transparent;overflow-x:auto;color:rgba(0,0,0,0.75)"><span style="color:rgb(0,0,0);font-family:"Courier New",Courier,monospace,arial,sans-serif;font-size:14px;white-space:pre-wrap">~ # ./</span>lttng create my-kernel-session --output=/tmp/my-kernel-trace</pre><pre class="gmail-commands" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:12px;line-height:15px;font-family:"Andale Mono WT","Andale Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L","Ubuntu Mono",Monaco,Consolas,"Lucida Console","Lucida Sans Typewriter","Courier New",Courier,monospace;vertical-align:baseline;background-color:transparent;overflow-x:auto;color:rgba(0,0,0,0.75)">and then:</pre><pre class="gmail-commands" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:12px;line-height:15px;font-family:"Andale Mono WT","Andale Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L","Ubuntu Mono",Monaco,Consolas,"Lucida Console","Lucida Sans Typewriter","Courier New",Courier,monospace;vertical-align:baseline;background-color:transparent;overflow-x:auto;color:rgba(0,0,0,0.75)"><br></pre></div><div><pre class="gmail-aLF-aPX-K0-aPE" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);font-size:14px">~ # ./lttng enable-event --kernel --syscall open,close
<br></pre><pre class="gmail-aLF-aPX-K0-aPE" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);font-size:14px">and got:</pre><pre class="gmail-aLF-aPX-K0-aPE" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);font-size:14px">Error: Spawning consumerd failed
Error: Event open: Kernel consumer start failed (channel channel0, session my-kernel-session)
PERROR - 00:25:59.397308194 [1930/1930]: listen: Invalid argument (in lttcomm_listen_unix_sock() at unix.c:173)
PERROR - 00:25:59.397344426 [1930/1930]: sendmsg: Bad file descriptor (in lttcomm_send_unix_sock() at unix.c:292)
Error: Failed to send data back to client
PERROR - 00:25:59.397353233 [1930/1930]: close: Bad file descriptor (in thread_manage_clients() at main.c:4530)
Error: Event close: Kernel consumer start failed (channel channel0, session my-kernel-session)
~ #</pre><pre class="gmail-aLF-aPX-K0-aPE" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);font-size:14px"><br></pre><pre class="gmail-aLF-aPX-K0-aPE" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);font-size:14px">Can you please explain the cause to this error ?</pre><pre class="gmail-aLF-aPX-K0-aPE" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);font-size:14px"><br></pre><pre class="gmail-aLF-aPX-K0-aPE" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);font-size:14px">I'm running under a 32 bit (x86) vanilla, 4.9.20 kernel with busybox with the following lttng versions:</pre><pre class="gmail-aLF-aPX-K0-aPE" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);font-size:14px"><br></pre><pre class="gmail-aLF-aPX-K0-aPE" style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="Courier New, Courier, monospace, arial, sans-serif"><span style="font-size:14px;white-space:pre-wrap">lttng-tools-2.10.6.tar.bz2<br></span></font></pre><pre class="gmail-aLF-aPX-K0-aPE" style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="Courier New, Courier, monospace, arial, sans-serif"><span style="font-size:14px;white-space:pre-wrap">lttng-ust-2.10.3.tar.bz2<br></span></font></pre><pre class="gmail-aLF-aPX-K0-aPE" style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="Courier New, Courier, monospace, arial, sans-serif"><span style="font-size:14px;white-space:pre-wrap">lttng-modules-2.10.9.tar.bz2<br></span></font></pre><pre class="gmail-aLF-aPX-K0-aPE" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);font-size:14px"><br></pre><pre class="gmail-aLF-aPX-K0-aPE" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);font-size:14px">Thank you,</pre><pre class="gmail-aLF-aPX-K0-aPE" style="font-family:"Courier New",Courier,monospace,arial,sans-serif;margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);font-size:14px">Zvika </pre></div></div></div></div></div>