All of lore.kernel.org
 help / color / mirror / Atom feed
From: "zhenyu.ren" <zhenyu.ren@aliyun.com>
To: "zhenyu.ren" <zhenyu.ren@aliyun.com>,
	"Jérémie Galarneau" <jeremie.galarneau@efficios.com>
Cc: lttng-dev <lttng-dev@lists.lttng.org>
Subject: 答复: 答复: 2.7.0 not support enable-event -k -a
Date: Wed, 11 Nov 2015 10:37:07 +0800	[thread overview]
Message-ID: <a3045c88-756c-4681-b7a3-55b7f9975134.zhenyu.ren__12680.4312145852$1447209543$gmane$org@aliyun.com> (raw)
In-Reply-To: a101b1df-60ec-4303-811f-bcfcdbde0601.zhenyu.ren@aliyun.com


[-- Attachment #1.1: Type: text/plain, Size: 6874 bytes --]

Sorry,forget to post the verbose logs of lttng-sessiond.
DEBUG3 - 10:05:34.476087 [15262/15262]: Looking for a kernel consumer at these locations: (in spawn_consumerd() at main.c:2516)
DEBUG3 - 10:05:34.476595 [15262/15262]:         1) /usr/local/lib/lttng/libexec/lttng-consumerd (in spawn_consumerd() at main.c:2517)
DEBUG3 - 10:05:34.476682 [15262/15262]:         2) /usr/local/lib/lttng/libexec/lttng-consumerd (in spawn_consumerd() at main.c:2518)
DEBUG1 - 10:05:34.476462 [14540/15263]: [thread] Manage consumer started (in thread_manage_consumer() at main.c:1249)
DEBUG3 - 10:05:34.476765 [15262/15262]:         3)  (in spawn_consumerd() at main.c:2519)
DEBUG3 - 10:05:34.477658 [15262/15262]: Found location #1 (in spawn_consumerd() at main.c:2521)
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)
DEBUG2 - 10:05:34.275827 [14540/15263]: Receiving code from consumer err_sock (in thread_manage_consumer() at main.c:1347)
DEBUG1 - 10:05:34.376523 [14540/15263]: Consumer command socket ready (fd: 37 (in thread_manage_consumer() at main.c:1381)
DEBUG1 - 10:05:34.376554 [14540/15263]: Consumer metadata socket ready (fd: 38) (in thread_manage_consumer() at main.c:1383)
DEBUG3 - 10:05:34.376545 [14540/14601]: Consumer socket created (fd: 37) and added to output (in consumer_create_socket() at consumer.c:302)
DEBUG1 - 10:05:34.376585 [14540/14601]: Setting relayd for session kernel_test (in cmd_setup_relayd() at cmd.c:761)
DEBUG1 - 10:05:34.376599 [14540/14601]: Enable event command for event '*' (in _cmd_enable_event() at cmd.c:1524)
DEBUG1 - 10:05:34.376619 [14540/14601]: Trying to find channel channel0 (in trace_kernel_get_channel_by_name() at trace-kernel.c:49)
DEBUG1 - 10:05:34.376652 [14540/14601]: Enabling channel  for session kernel_test (in cmd_enable_channel() at cmd.c:1054)
DEBUG1 - 10:05:34.376662 [14540/14601]: Trying to find channel channel0 (in trace_kernel_get_channel_by_name() at trace-kernel.c:49)
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)
DEBUG1 - 10:05:35.744393 [14540/14601]: Kernel channel channel0 created (fd: 39) (in kernel_create_channel() at kernel.c:162)
DEBUG1 - 10:05:35.744972 [14540/14601]: Kernel quiescent wait on 13 (in kernel_wait_quiescent() at kernel.c:570)
DEBUG1 - 10:05:35.745053 [14540/14607]: Thread kernel return from poll on 2 fds (in thread_manage_kernel() at main.c:1127)
DEBUG1 - 10:05:35.745789 [14540/14607]: Updating kernel poll set (in update_kernel_poll() at main.c:910)
DEBUG1 - 10:05:35.853454 [14540/14601]: Trying to find channel channel0 (in trace_kernel_get_channel_by_name() at trace-kernel.c:49)
DEBUG1 - 10:05:35.853839 [14540/14601]: Found channel by name channel0 (in trace_kernel_get_channel_by_name() at trace-kernel.c:53)
Warning: Event * not found!
DEBUG3 - 10:05:35.854838 [14540/14601]: Kernel destroy channel channel0 (in kernel_destroy_channel() at kernel.c:956)
DEBUG1 - 10:05:35.854937 [14540/14601]: [trace] Closing channel fd 39 (in trace_kernel_destroy_channel() at trace-kernel.c:482)
DEBUG1 - 10:05:35.855160 [14540/14601]: Sending response (size: 16, retcode: Enable kernel event failed) (in thread_manage_clients() at main.c:4456)
DEBUG1 - 10:05:35.855269 [14540/14607]: Thread kernel polling (in thread_manage_kernel() at main.c:1120)
DEBUG1 - 10:05:35.855485 [14540/14601]: Clean command context structure (in clean_command_ctx() at main.c:829)
DEBUG1 - 10:05:35.856010 [14540/14601]: Accepting client command ... (in thread_manage_clients() at main.c:4310)
Error: Events: Enable kernel event failed (channel channel0, session kernel_test)
Error: Command error
Is there any advice ?
Thankszhenyu.ren------------------------------------------------------------------发件人:zhenyu.ren <zhenyu.ren@aliyun.com>发送时间:2015年11月11日(星期三) 09:32收件人:Jérémie Galarneau <jeremie.galarneau@efficios.com>抄 送:lttng-dev <lttng-dev@lists.lttng.org>主 题:[lttng-dev] 答复: 2.7.0 not support enable-event -k -a
  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.

Thankszhenyu.ren------------------------------------------------------------------发件人:Jérémie Galarneau <jeremie.galarneau@efficios.com>发送时间:2015年11月10日(星期二) 23:09收件人:zhenyu.ren <zhenyu.ren@aliyun.com>抄 送:lttng-dev <lttng-dev@lists.lttng.org>,Jonathan Rajotte Julien <Jonathan.rajotte-julien@efficios.com>主 题:Re: [lttng-dev] 2.7.0 not support enable-event -k -a
On Tue, Nov 10, 2015 at 10:02 AM, Jonathan Rajotte Julien
<Jonathan.rajotte-julien@efficios.com> wrote:
> Hi Zhenyu,
>
> I just tested it on a Ubuntu 15.10 with kernel 4.2.3 with no problem.
>
> Did you install from source/ppa ? Could you give us all the steps involved ?
>
> Make sure to go over [1] to help us pinpoint the problem.
>
> [1] https://lttng.org/community/#bug-reporting-guidelines

Make sure you include the verbose logs of the session daemon by
launching it with the '-vvv' switch.
Also, please check that your lttng-modules version matches the rest of
the toolchain (v2.7.x)

Thanks!
Jérémie

>
> Cheers!
>
>
> On 2015-11-10 03:17 AM, zhenyu.ren wrote:
>>
>> Hi,dev-team
>>
>>    I got the following erros when I run the commd :lttng enable-event -k
>> -a
>> "Error: Events: Enable kernel event failed (channel channel0, session
>> kernel_test)
>> Error: Command error"
>>   It seems that LTTNG-2.7.0 do NOT support enable-event option "--all". Is
>> that right?If wo ,what's the idea behind it?
>>
>> Thanks
>> zhenyu.ren
>>
>>
>>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev@lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>
> --
> Jonathan R. Julien
> Efficios
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com


[-- Attachment #1.2: Type: text/html, Size: 13813 bytes --]

[-- Attachment #2: Type: text/plain, Size: 155 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

  parent reply	other threads:[~2015-11-11  2:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a66fb4c0-6937-49d3-ab21-51dbf91ec4ce.zhenyu.ren@aliyun.com>
2015-11-10 15:02 ` 2.7.0 not support enable-event -k -a Jonathan Rajotte Julien
     [not found] ` <564206FD.3050308@efficios.com>
2015-11-10 15:09   ` Jérémie Galarneau
2015-11-11  1:31   ` 答复: " zhenyu.ren
2015-11-11  2:37   ` zhenyu.ren [this message]
     [not found]   ` <38185f90-a4e3-4812-9e53-76a2c9ab6694.zhenyu.ren@aliyun.com>
2015-11-12 14:13     ` 答复: " Jérémie Galarneau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='a3045c88-756c-4681-b7a3-55b7f9975134.zhenyu.ren__12680.4312145852$1447209543$gmane$org@aliyun.com' \
    --to=zhenyu.ren@aliyun.com \
    --cc=jeremie.galarneau@efficios.com \
    --cc=lttng-dev@lists.lttng.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.