The Lttng version installed is " Dominus Vobiscum" 

The lttng tools: 2.3.1
Lttng-ust 2.3.1
Lttng modules 2.3.4

And The session running is

28664 root       0:00 ./lttng-sessiond -vvv 
--consumerd64-path=/tmp/lttng-build-root/lib/lttng/libexec/lttng-consumerd
29027 root       0:00 lttng-consumerd --quiet -u --consumerd-cmd-sock 
/var/run/lttng/ustconsumerd64/command --consumerd-err-sock 
/var/run/lttng/ustconsumerd64/error


I'm also able to run the easy-ust and generate the traces successfully if I 
create and run from an user not as root user.

But  the kernel traces are generated fine for even root user but for ust it 
runs fine only with non-root user in my case.

And the behavior is vice versa if I try the kernel tracer from user

# lttng list -k
Error: Unable to list kernel events: Tracing the kernel requires a root 
lttng-sessiond daemon, as well as "tracing" group membership or root user ID 
for the lttng client.
Error: Command error

Will it be possible to run both kernel and ust to run and create the traces 
from root user itself? And if you could explain why ust expects the user?

Regards,
GMK

-----Original Message-----
From: Thibault, Daniel [mailto:daniel.thiba...@drdc-rddc.gc.ca] 
Sent: Monday, December 09, 2013 7:24 PM
To: Manikandan Govindaswamy; Jérémie Galarneau
Cc: lttng-dev@lists.lttng.org
Subject: RE: [lttng-dev] No trace files are generated for UST

   A first glance through the log reveals these possibly significant entries:

DEBUG1 [15860/15996]: Sending response (size: 16, retcode: Unknown error code) 
(in thread_manage_clients() at main.c:3803)

And later

PERROR [16322/16322]: sendmsg: Broken pipe (in lttcomm_send_unix_sock() at 
unix.c:218)

   What were the client commands used to generate the log?  And what was the 
running environment (which versions of the LTTng suite were installed, and 
which session daemon(s) is(are) running? ).

Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection & 
Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber 
Security (MCCS)
R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D 
Canada - Valcartier (DRDC Valcartier)
2459 route de la Bravoure
Québec QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada | Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>

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

Reply via email to