[lttng-dev] Lttng not producing trace files

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Wed Aug 10 15:11:09 UTC 2016


----- On Aug 9, 2016, at 12:24 PM, Corbin, Craig <ccorbi02 at harris.com> wrote: 

> I am running lttng on an arm board. I am having an issue when tracing the
> kernel, i don't have any trace file. I do notice i have a bunch of Unknown
> symbol outputs when spawning the session deamon. But if i run lttng create
> again i don't see these messages pop up. But the main issue is that if i do

> #lttng create

> #lttng enable-event --kernel --syscall --all

> #lttng start

> #lttng stop

> I don't have anything in my trace session folder. I expected to see the trace
> file being dumped here after lttng stop.

> Below is what i get the first time i run lttng create

> # lttng create

> Spawning a session daemon

> [ 74.874182] lttng_ring_buffer_client_discard: Unknown symbol
> lib_ring_buffer_release_read (err 0)

> [ 74.883131] lttng_ring_buffer_client_discard: Unknown symbol
> channel_get_ring_buffer (err 0)

> [ 74.891602] lttng_ring_buffer_client_discard: Unknown symbol
> lttng_transport_unregister (err 0)

> [ 74.900336] lttng_ring_buffer_client_discard: Unknown symbol channel_destroy
> (err 0)

> [ 74.908116] lttng_ring_buffer_client_discard: Unknown symbol
> _lib_ring_buffer_memset (err 0)

> [ 74.916584] lttng_ring_buffer_client_discard: Unknown symbol
> _lib_ring_buffer_write (err 0)

> [ 74.924967] lttng_ring_buffer_client_discard: Unknown symbol
> lib_ring_buffer_offset_address (err 0)

> [ 74.934049] lttng_ring_buffer_client_discard: Unknown symbol
> _lib_ring_buffer_strcpy_from_user_inatomic (err 0)

> [ 74.944188] lttng_ring_buffer_client_discard: Unknown symbol
> lib_ring_buffer_reserve_slow (err 0)

> [ 74.953104] lttng_ring_buffer_client_discard: Unknown symbol lttng_last_tsc
> (err 0)

> [ 74.960790] lttng_ring_buffer_client_discard: Unknown symbol
> _lib_ring_buffer_strcpy (err 0)

> [ 74.969261] lttng_ring_buffer_client_discard: Unknown symbol
> lib_ring_buffer_read_offset_address (err 0)

> [ 74.978773] lttng_ring_buffer_client_discard: Unknown symbol
> _lib_ring_buffer_copy_from_user_inatomic (err 0)

> [ 74.988724] lttng_ring_buffer_client_discard: Unknown symbol
> lib_ring_buffer_nesting (err 0)

> [ 74.997202] lttng_ring_buffer_client_discard: Unknown symbol
> lttng_transport_register (err 0)

> [ 75.005761] lttng_ring_buffer_client_discard: Unknown symbol lttng_trace_clock
> (err 0)

> [ 75.013709] lttng_ring_buffer_client_discard: Unknown symbol
> lib_ring_buffer_open_read (err 0)

> [ 75.022343] lttng_ring_buffer_client_discard: Unknown symbol channel_create
> (err 0)

The warnings above should not be there. Make sure your kernel meets the lttng-modules 
README file requirements, and that you issued depmod -a. 

Perhaps try to rebuild/re-install lttng-modules. 

Thanks, 

Mathieu 

> Session auto-19700101-000114 created.

> Traces will be written in //lttng-traces/auto-19700101-000114

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

-- 
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20160810/33405076/attachment.html>


More information about the lttng-dev mailing list