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

Bernd Hufmann bhufmann at gmail.com
Wed Jul 4 08:48:01 EDT 2012


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
> Virtualbox VM.
>
>
> 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/4ffde837/attachment.html>


More information about the lttng-dev mailing list