All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: lttng_2.0-eclipse-juno : Connection to a Remote Host : Unable to list kernel events
       [not found] <1341389386.5657.YahooMailNeo@web140904.mail.bf1.yahoo.com>
@ 2012-07-04 12:48 ` Bernd Hufmann
       [not found] ` <CAG5-hcMDzStCrHp0GpZNZTZfVHZ7+2xDuytSsnZnZmCgpA3Lsw@mail.gmail.com>
  1 sibling, 0 replies; 5+ messages in thread
From: Bernd Hufmann @ 2012-07-04 12:48 UTC (permalink / raw)
  To: somanath sahoo; +Cc: lttng-dev


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

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@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@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>

[-- Attachment #1.2: Type: text/html, Size: 3004 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: lttng_2.0-eclipse-juno : Connection to a Remote Host : Unable to list kernel events
       [not found] ` <CAG5-hcMDzStCrHp0GpZNZTZfVHZ7+2xDuytSsnZnZmCgpA3Lsw@mail.gmail.com>
@ 2012-07-05  5:45   ` somanath sahoo
       [not found]   ` <1341467127.80260.YahooMailNeo@web140905.mail.bf1.yahoo.com>
  1 sibling, 0 replies; 5+ messages in thread
From: somanath sahoo @ 2012-07-05  5:45 UTC (permalink / raw)
  To: Bernd Hufmann; +Cc: lttng-dev


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

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@gmail.com>
To: somanath sahoo <bapi_mvit2004@yahoo.com> 
Cc: "lttng-dev@lists.lttng.org" <lttng-dev@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@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@lists.lttng.org
>http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>

[-- Attachment #1.2: Type: text/html, Size: 7071 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: lttng_2.0-eclipse-juno : Connection to a Remote Host : Unable to list kernel events
       [not found]   ` <1341467127.80260.YahooMailNeo@web140905.mail.bf1.yahoo.com>
@ 2012-07-05 14:29     ` Alexandre Montplaisir
       [not found]     ` <4FF5A4D1.7080708@voxpopuli.im>
  1 sibling, 0 replies; 5+ messages in thread
From: Alexandre Montplaisir @ 2012-07-05 14:29 UTC (permalink / raw)
  To: somanath sahoo; +Cc: lttng-dev

On 12-07-05 01:45 AM, somanath sahoo wrote:
> 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.

You can use

$ cat /etc/group | grep tracing

It will list the users that are in the tracing group.


Cheers,
Alex

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: lttng_2.0-eclipse-juno : Connection to a Remote Host : Unable to list kernel events
       [not found]     ` <4FF5A4D1.7080708@voxpopuli.im>
@ 2012-07-06  9:29       ` somanath sahoo
  0 siblings, 0 replies; 5+ messages in thread
From: somanath sahoo @ 2012-07-06  9:29 UTC (permalink / raw)
  To: Alexandre Montplaisir; +Cc: lttng-dev


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

Hi Alex,

your reponse is much more appeciated.


my user id was not present in tracing group in /etc/group.

Now eclipse-remote-control is working great after addition of my user id into the tracing group.

Thanks.



Warm Regards,
Somanath



________________________________
 From: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
To: somanath sahoo <bapi_mvit2004@yahoo.com> 
Cc: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org> 
Sent: Thursday, July 5, 2012 7:59 PM
Subject: Re: [lttng-dev] lttng_2.0-eclipse-juno : Connection to a Remote Host : Unable to list kernel events
 
On 12-07-05 01:45 AM, somanath sahoo wrote:
> 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.

You can use

$ cat /etc/group | grep tracing

It will list the users that are in the tracing group.


Cheers,
Alex

[-- Attachment #1.2: Type: text/html, Size: 1930 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* lttng_2.0-eclipse-juno : Connection to a Remote Host : Unable to list kernel events
@ 2012-07-04  8:09 somanath sahoo
  0 siblings, 0 replies; 5+ messages in thread
From: somanath sahoo @ 2012-07-04  8:09 UTC (permalink / raw)
  To: lttng-dev


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

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

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

[-- Attachment #2: eclipse-juno_Remote Host_lttng_Unable to list kernel events.png --]
[-- Type: image/png, Size: 172079 bytes --]

[-- Attachment #3: 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-06  9:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1341389386.5657.YahooMailNeo@web140904.mail.bf1.yahoo.com>
2012-07-04 12:48 ` lttng_2.0-eclipse-juno : Connection to a Remote Host : Unable to list kernel events Bernd Hufmann
     [not found] ` <CAG5-hcMDzStCrHp0GpZNZTZfVHZ7+2xDuytSsnZnZmCgpA3Lsw@mail.gmail.com>
2012-07-05  5:45   ` somanath sahoo
     [not found]   ` <1341467127.80260.YahooMailNeo@web140905.mail.bf1.yahoo.com>
2012-07-05 14:29     ` Alexandre Montplaisir
     [not found]     ` <4FF5A4D1.7080708@voxpopuli.im>
2012-07-06  9:29       ` somanath sahoo
2012-07-04  8:09 somanath sahoo

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.