[lttng-dev] lttng-ust traces are not generated

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue May 9 17:35:13 UTC 2017

----- On May 9, 2017, at 5:45 AM, Swati J <Swati.J at nectechnologies.in> wrote: 

> Dear All,

> I am using lttng tool to generate userspace traces but the userspace traces are
> not getting generated .

> I have used the following commands:

> [root at pcmk1 ~]# lttng create

> Session auto-20170506-152941 created.

> Traces will be written in /root/lttng-traces/auto-20170506-152941

> [root at pcmk1 ~]# lttng enable-event --userspace --all All UST events are enabled
> in channel channel0

> [root at pcmk1 ~]# lttng start Tracing started for session auto-20170506-152941

> [root at pcmk1 ~]# systemctl start pcsd.service

> [root at pcmk1 ~]# lttng stop

> Waiting for data availability

> Tracing stopped for session auto-20170506-152941

> [root at pcmk1 ~]# lttng destroy

> Session auto-20170506-152941 destroyed

> I am not getting any error but also the file is not getting created

> I also tried to create userspace traces by logging-in via user rather than root
> but there is no difference .

> If anyone has any alternative approach or any suggestion please let me know .

Is the pcsd daemon instrumented (lttng-ust tracepoints added to its source code) ? 

You can use "lttng list -u" while the daemon runs to see if the tracepoints are visible. 



> Regards,

> Swati J

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Mathieu Desnoyers 
EfficiOS Inc. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20170509/a6a80c9c/attachment-0001.html>

More information about the lttng-dev mailing list