[lttng-dev] lttng-ust works

Jérémie Galarneau jeremie.galarneau at efficios.com
Tue Dec 10 09:42:45 EST 2013


On Tue, Dec 10, 2013 at 12:42 AM, Manikandan Govindaswamy
<magov at vestas.com> wrote:
> Hi !,
>
>
>
> 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
>

Normal if your user is not part of the "tracing" group.

>
>
> # 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?
>

There is no reason why you shouldn't be able to generate userspace
traces as root. Let us know what happens when following David's
instructions.

http://lists.lttng.org/pipermail/lttng-dev/2013-December/022110.html

Thanks,
Jérémie

>
>
> Regards,
>
> GMK
>
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list