<div class="__aliyun_email_body_block"><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">Sorry,forget to post the verbose logs of lttng-sessiond.</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"><br></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">DEBUG3 - 10:05:34.476087 [15262/15262]: Looking for a kernel consumer at these locations: (in spawn_consumerd() at main.c:2516)<br>DEBUG3 - 10:05:34.476595 [15262/15262]:         1) /usr/local/lib/lttng/libexec/lttng-consumerd (in spawn_consumerd() at main.c:2517)<br>DEBUG3 - 10:05:34.476682 [15262/15262]:         2) /usr/local/lib/lttng/libexec/lttng-consumerd (in spawn_consumerd() at main.c:2518)<br>DEBUG1 - 10:05:34.476462 [14540/15263]: [thread] Manage consumer started (in thread_manage_consumer() at main.c:1249)<br>DEBUG3 - 10:05:34.476765 [15262/15262]:         3)  (in spawn_consumerd() at main.c:2519)<br>DEBUG3 - 10:05:34.477658 [15262/15262]: Found location #1 (in spawn_consumerd() at main.c:2521)<br>DEBUG1 - 10:05:34.477742 [15262/15262]: Using kernel consumer at: /usr/local/lib/lttng/libexec/lttng-consumerd (in spawn_consumerd() at main.c:2534)<br>DEBUG2 - 10:05:34.275827 [14540/15263]: Receiving code from consumer err_sock (in thread_manage_consumer() at main.c:1347)<br>DEBUG1 - 10:05:34.376523 [14540/15263]: Consumer command socket ready (fd: 37 (in thread_manage_consumer() at main.c:1381)<br>DEBUG1 - 10:05:34.376554 [14540/15263]: Consumer metadata socket ready (fd: 38) (in thread_manage_consumer() at main.c:1383)<br>DEBUG3 - 10:05:34.376545 [14540/14601]: Consumer socket created (fd: 37) and added to output (in consumer_create_socket() at consumer.c:302)<br>DEBUG1 - 10:05:34.376585 [14540/14601]: Setting relayd for session kernel_test (in cmd_setup_relayd() at cmd.c:761)<br>DEBUG1 - 10:05:34.376599 [14540/14601]: Enable event command for event '*' (in _cmd_enable_event() at cmd.c:1524)<br>DEBUG1 - 10:05:34.376619 [14540/14601]: Trying to find channel channel0 (in trace_kernel_get_channel_by_name() at trace-kernel.c:49)<br>DEBUG1 - 10:05:34.376652 [14540/14601]: Enabling channel  for session kernel_test (in cmd_enable_channel() at cmd.c:1054)<br>DEBUG1 - 10:05:34.376662 [14540/14601]: Trying to find channel channel0 (in trace_kernel_get_channel_by_name() at trace-kernel.c:49)<br>DEBUG3 - 10:05:34.376679 [14540/14601]: Kernel create channel  with attr: 0, 262144, 4, 0, 200000, 0, 0 (in kernel_create_channel() at kernel.c:140)<br>DEBUG1 - 10:05:35.744393 [14540/14601]: Kernel channel channel0 created (fd: 39) (in kernel_create_channel() at kernel.c:162)<br>DEBUG1 - 10:05:35.744972 [14540/14601]: Kernel quiescent wait on 13 (in kernel_wait_quiescent() at kernel.c:570)<br>DEBUG1 - 10:05:35.745053 [14540/14607]: Thread kernel return from poll on 2 fds (in thread_manage_kernel() at main.c:1127)<br>DEBUG1 - 10:05:35.745789 [14540/14607]: Updating kernel poll set (in update_kernel_poll() at main.c:910)<br>DEBUG1 - 10:05:35.853454 [14540/14601]: Trying to find channel channel0 (in trace_kernel_get_channel_by_name() at trace-kernel.c:49)<br>DEBUG1 - 10:05:35.853839 [14540/14601]: Found channel by name channel0 (in trace_kernel_get_channel_by_name() at trace-kernel.c:53)<br>Warning: Event * not found!<br>DEBUG3 - 10:05:35.854838 [14540/14601]: Kernel destroy channel channel0 (in kernel_destroy_channel() at kernel.c:956)<br>DEBUG1 - 10:05:35.854937 [14540/14601]: [trace] Closing channel fd 39 (in trace_kernel_destroy_channel() at trace-kernel.c:482)<br>DEBUG1 - 10:05:35.855160 [14540/14601]: Sending response (size: 16, retcode: Enable kernel event failed) (in thread_manage_clients() at main.c:4456)<br>DEBUG1 - 10:05:35.855269 [14540/14607]: Thread kernel polling (in thread_manage_kernel() at main.c:1120)<br>DEBUG1 - 10:05:35.855485 [14540/14601]: Clean command context structure (in clean_command_ctx() at main.c:829)<br>DEBUG1 - 10:05:35.856010 [14540/14601]: Accepting client command ... (in thread_manage_clients() at main.c:4310)<br>Error: Events: Enable kernel event failed (channel channel0, session kernel_test)<br>Error: Command error</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"><br></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">Is there any advice ?</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"><br></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">Thanks</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">zhenyu.ren</span></div><blockquote style="margin-right: 0px; margin-top: 0px; margin-bottom: 0px;"><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">------------------------------------------------------------------</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">发件人:zhenyu.ren <zhenyu.ren@aliyun.com></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">发送时间:2015年11月11日(星期三) 09:32</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">收件人:Jérémie Galarneau <jeremie.galarneau@efficios.com></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">抄 送:lttng-dev <lttng-dev@lists.lttng.org></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">主 题:[lttng-dev] 答复: 2.7.0 not support enable-event -k -a</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"><br></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">  In fact, I made some changes in lttng toolchain(module/tool/ust) to support older kernel/OS.These changes are OK for Lttng 2.6 .Since you are sure "enable-event -k -a" has no problem,it's more chance that I made some inappropriate changes.</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"><br></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"><br></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">Thanks</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">zhenyu.ren</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">------------------------------------------------------------------</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">发件人:Jérémie Galarneau <jeremie.galarneau@efficios.com></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">发送时间:2015年11月10日(星期二) 23:09</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">收件人:zhenyu.ren <zhenyu.ren@aliyun.com></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">抄 送:lttng-dev <lttng-dev@lists.lttng.org>,Jonathan Rajotte Julien <Jonathan.rajotte-julien@efficios.com></span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);">主 题:Re: [lttng-dev] 2.7.0 not support enable-event -k -a</span></div><div style="clear: both;"><span style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px; color: rgb(0, 0, 0);"><br></span></div>On Tue, Nov 10, 2015 at 10:02 AM, Jonathan Rajotte Julien<br><Jonathan.rajotte-julien@efficios.com> wrote:<br>> Hi Zhenyu,<br>><br>> I just tested it on a Ubuntu 15.10 with kernel 4.2.3 with no problem.<br>><br>> Did you install from source/ppa ? Could you give us all the steps involved ?<br>><br>> Make sure to go over [1] to help us pinpoint the problem.<br>><br>> [1] <a href="https://lttng.org/community/#bug-reporting-guidelines" target="_blank">https://lttng.org/community/#bug-reporting-guidelines</a><br><br>Make sure you include the verbose logs of the session daemon by<br>launching it with the '-vvv' switch.<br>Also, please check that your lttng-modules version matches the rest of<br>the toolchain (v2.7.x)<br><br>Thanks!<br>Jérémie<br><br>><br>> Cheers!<br>><br>><br>> On 2015-11-10 03:17 AM, zhenyu.ren wrote:<br>>><br>>> Hi,dev-team<br>>><br>>>    I got the following erros when I run the commd :lttng enable-event -k<br>>> -a<br>>> "Error: Events: Enable kernel event failed (channel channel0, session<br>>> kernel_test)<br>>> Error: Command error"<br>>>   It seems that LTTNG-2.7.0 do NOT support enable-event option "--all". Is<br>>> that right?If wo ,what's the idea behind it?<br>>><br>>> Thanks<br>>> zhenyu.ren<br>>><br>>><br>>><br>>> _______________________________________________<br>>> lttng-dev mailing list<br>>> lttng-dev@lists.lttng.org<br>>> <a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>><br>><br>> --<br>> Jonathan R. Julien<br>> Efficios<br>><br>><br>> _______________________________________________<br>> lttng-dev mailing list<br>> lttng-dev@lists.lttng.org<br>> <a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br><br><br><br>-- <br>Jérémie Galarneau<br>EfficiOS Inc.<br><a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a><div><br></div></blockquote><div><br></div></div>