[lttng-dev] lttng_2.0-eclipse-juno : Connection to a Remote Host : Unable to list kernel events

somanath sahoo bapi_mvit2004 at yahoo.com
Thu Jul 5 01:45:27 EDT 2012


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 <bhufmann at gmail.com>
To: somanath sahoo <bapi_mvit2004 at yahoo.com> 
Cc: "lttng-dev at lists.lttng.org" <lttng-dev at lists.lttng.org> 
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" <bapi_mvit2004 at yahoo.com> 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
>lttng-dev at lists.lttng.org
>http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20120704/11777063/attachment-0001.html>


More information about the lttng-dev mailing list