Hi Bernd,
Thanks for your response.
I did follow the procedure as you mentioned.
Still the same problem is persistent.
after the eclipse failed in "lttng list -k" , i did "ps -ef | grep lttng " in
my remote host (ubuntu 12.04). Log is provided below
---
root 558 1 0 10:31 ? 00:00:00 lttng-sessiond
somanath 2949 1 4 10:49 ? 00:00:30
/home/somanath/lttng_som/eclipse/eclipse
somanath 3242 1 0 10:50 ? 00:00:00 lttng-sessiond --sig-parent
--quiet
somanath 3539 3251 0 11:00 pts/3 00:00:00 grep --color=auto lttng
---
but i am able to execute all the lttng features in the remote host
successfully. i don't know why eclipse is not able to do that.
However i want to know how to make sure my user id present in the tracing group
? is there any command to list or include the users into the "tracing" group ?
please enlightened on this.
Kindly let me know whether i need to follow something else to resolve this
eclipse tracing control problem.
Thanks for your need-fullness.
Best Regards,
Somanath
________________________________
From: Bernd Hufmann <[email protected]>
To: somanath sahoo <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Wednesday, July 4, 2012 6:18 PM
Subject: Re: [lttng-dev] lttng_2.0-eclipse-juno : Connection to a Remote Host :
Unable to list kernel events
Hi,
to be able to trace the kernel the global session daemon has to be running,
that means it has to be running as root. To start the global session daemon
login to your node and then execute sudo lttng list -k
Then you are able to trace the kernel and UST using your user login. However
you have to make sure that your user id is part of the user group tracing.
Once this is setup the tracer control with Eclipse should work, too.
Best Regards
Bernd
On 2012-07-04 4:10 AM, "somanath sahoo" <[email protected]> wrote:
Hi,
>
>
>I am running eclipse c/c++ juno in ubuntu 12.04 which is running inside
>VirtualboxVM.
>
>
>
>
>
>Issue : Tree node of remote host is not being created in the cotrol view panel
>of eclipse while i am successfully connected to remote host (in this case my
>ubuntu 12.04).
>
>
>
>I am to trying use "lttng tracer control" feature of eclipse juno by following
>this link --
>http://wiki.eclipse.org/index.php/Linux_Tools_Project/LTTng2/User_Guide#LTTng_Tracer_Control
>
>
>Error description : when eclipse is successfully connected to remote host,
>then eclipse is trying to run "lttng list -k" to listing the kernel event and
>its getting failed.
> But whereas i am able to run lttng commands in
>my remote host (in ubuntu 12.04) successfully.
>
>
>The error message from eclipse is provided below -
>
>
>
>----
>
>List sessions failed
>Command failed! Command: lttng list -k
>Return Value: 79
>Error: Unable to list kernel events
>
>
>------
>
>I have attached screenshot of this error. please find the attachment.
>
>
>Please guide me to resolve this problem.
>
>
>
>
>Thanks & Regards,
>Somanath
>
>_______________________________________________
>lttng-dev mailing list
>[email protected]
>http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev