[lttng-dev] Inappropriate ioctl for device error

Neil Bryan Neil.Bryan at ttp.com
Fri Mar 13 12:40:36 EDT 2015


Hello,

When I create a session and try to capture some kernel traces I see the following (first output from lttng-sessiond and then from the tracing session):

root at socfpga_cyclone5:~# lttng-sessiond -vvv
DEBUG3 [300/300]: Creating LTTng run directory: /var/run/lttng (in create_lttng_rundir() at main.c:4297)
DEBUG2 [300/300]: Kernel consumer err path: /var/run/lttng/kconsumerd/error (in main() at main.c:4638)
DEBUG2 [300/300]: Kernel consumer cmd path: /var/run/lttng/kconsumerd/command (in main() at main.c:4640)
DEBUG1 [300/300]: Client socket path /var/run/lttng/client-lttng-sessiond (in main() at main.c:4693)
DEBUG1 [300/300]: Application socket path /var/run/lttng/lttng-ust-sock-5 (in main() at main.c:4694)
DEBUG1 [300/300]: Application wait path /lttng-ust-wait-5 (in main() at main.c:4695)
DEBUG1 [300/300]: LTTng run directory path: /var/run/lttng (in main() at main.c:4696)
DEBUG2 [300/300]: UST consumer 32 bits err path: /var/run/lttng/ustconsumerd32/error (in main() at main.c:4705)
DEBUG2 [300/300]: UST consumer 32 bits cmd path: /var/run/lttng/ustconsumerd32/command (in main() at main.c:4707)
DEBUG2 [300/300]: UST consumer 64 bits err path: /var/run/lttng/ustconsumerd64/error (in main() at main.c:4716)
DEBUG2 [300/300]: UST consumer 64 bits cmd path: /var/run/lttng/ustconsumerd64/command (in main() at main.c:4718)
DEBUG3 [300/300]: Created hashtable size 4 at 0x71080 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG3 [300/300]: Created hashtable size 4 at 0x711f0 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG3 [300/300]: Created hashtable size 4 at 0x71398 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG3 [300/300]: Created hashtable size 4 at 0x71540 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG2 [300/300]: Creating consumer directory: /var/run/lttng/kconsumerd (in set_consumer_sockets() at main.c:4339)
Warning: No tracing group detected
DEBUG1 [300/300]: Modprobe successfully lttng-tracer (in modprobe_lttng_control() at modprobe.c:192)
DEBUG2 [300/300]: Kernel tracer version validated (major version 2) (in kernel_validate_version() at kernel.c:704)
DEBUG1 [300/300]: Modprobe successfully lttng-ftrace (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-kprobes (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-kretprobes (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-lib-ring-buffer (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-ring-buffer-client-discard (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-ring-buffer-client-overwrite (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-ring-buffer-metadata-client (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-ring-buffer-client-mmap-discard (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-ring-buffer-client-mmap-overwrite (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-ring-buffer-metadata-mmap-client (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-types (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-asoc (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-block (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-btrfs (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-compaction (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-ext3 (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-ext4 (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-gpio (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-irq (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-jbd (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-jbd2 (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-kmem (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-kvm (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-kvm-x86 (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-kvm-x86-mmu (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-lock (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-module (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-napi (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-net (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-power (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-printk (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-random (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-rcu (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-regmap (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-regulator (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-rpm (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-sched (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-scsi (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-signal (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-skb (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-sock (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-statedump (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-sunrpc (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-timer (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-udp (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-vmscan (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-workqueue (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Modprobe successfully lttng-probe-writeback (in modprobe_lttng_data() at modprobe.c:228)
DEBUG1 [300/300]: Kernel tracer fd 6 (in init_kernel_tracer() at main.c:2398)
DEBUG2 [300/300]: Creating consumer directory: /var/run/lttng/ustconsumerd64 (in set_consumer_sockets() at main.c:4339)
DEBUG2 [300/300]: Creating consumer directory: /var/run/lttng/ustconsumerd32 (in set_consumer_sockets() at main.c:4339)
DEBUG3 [300/300]: Session daemon client socket 9 and application socket 10 created (in init_daemon_socket() at main.c:4205)
DEBUG1 [300/300]: All permissions are set (in set_permissions() at main.c:4285)
DEBUG3 [300/300]: Created hashtable size 4 at 0x726e0 of type 2 (in lttng_ht_new() at hashtable.c:127)
DEBUG3 [300/300]: Global buffer per UID registry initialized (in buffer_reg_init_uid_registry() at buffer-registry.c:99)
DEBUG3 [300/300]: Created hashtable size 4 at 0x72868 of type 2 (in lttng_ht_new() at hashtable.c:127)
DEBUG3 [300/300]: Global buffer per PID registry initialized (in buffer_reg_init_pid_registry() at buffer-registry.c:220)
DEBUG1 [300/300]: epoll set max size is 89088 (in compat_epoll_set_max_size() at compat-epoll.c:290)
DEBUG1 [300/300]: Command subsystem initialized (in cmd_init() at cmd.c:3110)
DEBUG1 [300/300]: Pid 300 written in file /var/run/lttng/lttng-sessiond.pid (in utils_create_pid_file() at utils.c:465)
DEBUG1 [300/300]: Pid 5345 written in file /var/run/lttng/jul.port (in utils_create_pid_file() at utils.c:465)
DEBUG1 [300/300]: TCP inet operation timeout set to 216 sec (in lttcomm_inet_init() at inet.c:529)
DEBUG1 [300/300]: Health check time delta in seconds set to 236 (in health_init() at health.c:73)
DEBUG1 [300/399]: [ht-thread] startup. (in thread_ht_cleanup() at ht-cleanup.c:36)
DEBUG1 [300/401]: [thread] Manage client started (in thread_manage_clients() at main.c:3731)
DEBUG3 [300/399]: [ht-thread] Polling on 2 fds. (in thread_ht_cleanup() at ht-cleanup.c:64)
DEBUG1 [300/400]: [thread] Manage health check started (in thread_manage_health() at main.c:3545)
DEBUG1 [300/402]: [thread] Dispatch UST command started (in thread_dispatch_ust_registration() at main.c:1577)
DEBUG1 [300/404]: [thread] Manage application started (in thread_manage_apps() at main.c:1291)
DEBUG1 [300/402]: Futex n to 1 prepare done (in futex_nto1_prepare() at futex.c:75)
DEBUG1 [300/402]: Woken up but nothing in the UST command queue (in thread_dispatch_ust_registration() at main.c:1600)
DEBUG1 [300/404]: Apps thread polling on 2 fds (in thread_manage_apps() at main.c:1321)
DEBUG1 [300/403]: [thread] Manage application registration started (in thread_registration_apps() at main.c:1801)
DEBUG1 [300/405]: [ust-thread] Manage application notify command (in ust_thread_manage_notify() at ust-thread.c:39)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG3 [300/405]: [ust-thread] Manage notify polling on 2 fds (in ust_thread_manage_notify() at ust-thread.c:68)
DEBUG1 [300/406]: [jul-thread] Manage JUL application registration. (in jul_thread_manage_registration() at jul-thread.c:258)
DEBUG1 [300/400]: Health check ready (in thread_manage_health() at main.c:3610)
DEBUG3 [300/406]: URI string: tcp://localhost (in uri_parse() at uri.c:291)
DEBUG1 [300/403]: Notifying applications of session daemon state: 1 (in notify_ust_apps() at main.c:628)
DEBUG1 [300/403]: Got the wait shm fd 28 (in get_wait_shm() at shm.c:115)
DEBUG1 [300/403]: Futex wait update active 1 (in futex_wait_update() at futex.c:63)
DEBUG1 [300/403]: Accepting application registration (in thread_registration_apps() at main.c:1838)
DEBUG1 [300/407]: [thread] Thread manage kernel started (in thread_manage_kernel() at main.c:829)
DEBUG1 [300/407]: Updating kernel poll set (in update_kernel_poll() at main.c:689)
DEBUG1 [300/407]: Thread kernel polling on 2 fds (in thread_manage_kernel() at main.c:874)
DEBUG2 [300/406]: IP address resolved to 127.0.0.1 (in set_ip_address() at uri.c:132)
DEBUG3 [300/406]: URI dtype: 1, proto: 1, host: localhost, subdir: , ctrl: 0, data: 0 (in uri_parse() at uri.c:505)
DEBUG1 [300/406]: [jul-thread] Listening on TCP port 5345 and socket 27 (in init_tcp_socket() at jul-thread.c:156)
DEBUG3 [300/406]: [jul-thread] Manage JUL polling on 2 fds (in jul_thread_manage_registration() at jul-thread.c:286)

libphy: stmmac-1:01 - Link is Down
libphy: stmmac-1:01 - Link is Up - 1000/Full
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Processing client command 8 (in process_client_msg() at main.c:2637)
DEBUG1 [300/401]: Waiting for 1 URIs from client ... (in process_client_msg() at main.c:3201)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-151645 (in session_find_by_name() at session.c:169)
DEBUG3 [300/401]: Created hashtable size 4 at 0x74105a68 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG1 [300/401]: Tracing session auto-20150313-151645 created with ID 0 by UID 0 GID 0 (in session_create() at session.c:276)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-151645 (in session_find_by_name() at session.c:169)
DEBUG3 [300/401]: Created hashtable size 4 at 0x7410ac50 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG2 [300/401]: Setting trace directory path from URI to /home/root/lttng-traces/auto-20150313-151645 (in add_uri_to_consumer() at cmd.c:481)
DEBUG1 [300/401]: Sending response (size: 16, retcode: Success) (in thread_manage_clients() at main.c:3909)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Processing client command 16 (in process_client_msg() at main.c:2637)
DEBUG1 [300/401]: Getting session auto-20150313-151645 by name (in process_client_msg() at main.c:2716)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-151645 (in session_find_by_name() at session.c:169)
DEBUG1 [300/401]: Sending response (size: 16, retcode: No channel found in the session) (in thread_manage_clients() at main.c:3909)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Processing client command 17 (in process_client_msg() at main.c:2637)
DEBUG1 [300/401]: Getting session auto-20150313-151645 by name (in process_client_msg() at main.c:2716)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-151645 (in session_find_by_name() at session.c:169)
DEBUG1 [300/401]: Sending response (size: 16, retcode: Tracing already stopped) (in thread_manage_clients() at main.c:3909)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Processing client command 24 (in process_client_msg() at main.c:2637)
DEBUG1 [300/401]: Getting session auto-20150313-151645 by name (in process_client_msg() at main.c:2716)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-151645 (in session_find_by_name() at session.c:169)
DEBUG1 [300/401]: Sending response (size: 16, retcode: Unknown error code) (in thread_manage_clients() at main.c:3909)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Processing client command 9 (in process_client_msg() at main.c:2637)
DEBUG1 [300/401]: Getting session auto-20150313-151645 by name (in process_client_msg() at main.c:2716)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-151645 (in session_find_by_name() at session.c:169)
DEBUG3 [300/401]: No kernel session when tearing down session (in kernel_destroy_session() at kernel.c:755)
DEBUG1 [300/401]: Destroying session auto-20150313-151645 (in session_destroy() at session.c:194)
DEBUG1 [300/401]: Sending response (size: 16, retcode: Success) (in thread_manage_clients() at main.c:3909)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/407]: Updating kernel poll set (in update_kernel_poll() at main.c:689)
DEBUG1 [300/407]: Thread kernel polling on 2 fds (in thread_manage_kernel() at main.c:874)
DEBUG3 [300/399]: [ht-thread] Polling on 2 fds. (in thread_ht_cleanup() at ht-cleanup.c:64)
DEBUG3 [300/399]: [ht-thread] Polling on 2 fds. (in thread_ht_cleanup() at ht-cleanup.c:64)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Processing client command 8 (in process_client_msg() at main.c:2637)
DEBUG1 [300/401]: Waiting for 1 URIs from client ... (in process_client_msg() at main.c:3201)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-151806 (in session_find_by_name() at session.c:169)
DEBUG3 [300/401]: Created hashtable size 4 at 0x74105a68 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG1 [300/401]: Tracing session auto-20150313-151806 created with ID 1 by UID 0 GID 0 (in session_create() at session.c:276)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-151806 (in session_find_by_name() at session.c:169)
DEBUG3 [300/401]: Created hashtable size 4 at 0x7410ac50 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG2 [300/401]: Setting trace directory path from URI to /home/root/lttng-traces/auto-20150313-151806 (in add_uri_to_consumer() at cmd.c:481)
DEBUG1 [300/401]: Sending response (size: 16, retcode: Success) (in thread_manage_clients() at main.c:3909)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Processing client command 16 (in process_client_msg() at main.c:2637)
DEBUG1 [300/401]: Getting session auto-20150313-151806 by name (in process_client_msg() at main.c:2716)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-151806 (in session_find_by_name() at session.c:169)
DEBUG1 [300/401]: Sending response (size: 16, retcode: No channel found in the session) (in thread_manage_clients() at main.c:3909)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Processing client command 17 (in process_client_msg() at main.c:2637)
DEBUG1 [300/401]: Getting session auto-20150313-151806 by name (in process_client_msg() at main.c:2716)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-151806 (in session_find_by_name() at session.c:169)
DEBUG1 [300/401]: Sending response (size: 16, retcode: Tracing already stopped) (in thread_manage_clients() at main.c:3909)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Processing client command 24 (in process_client_msg() at main.c:2637)
DEBUG1 [300/401]: Getting session auto-20150313-151806 by name (in process_client_msg() at main.c:2716)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-151806 (in session_find_by_name() at session.c:169)
DEBUG1 [300/401]: Sending response (size: 16, retcode: Unknown error code) (in thread_manage_clients() at main.c:3909)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Nothing recv() from client... continuing (in thread_manage_clients() at main.c:3864)
DEBUG1 [300/401]: Clean command context structure (in clean_command_ctx() at main.c:608)
DEBUG1 [300/401]: Accepting client command ... (in thread_manage_clients() at main.c:3773)
DEBUG1 [300/401]: Wait for client response (in thread_manage_clients() at main.c:3815)
DEBUG1 [300/401]: Receiving data from client ... (in thread_manage_clients() at main.c:3860)
DEBUG1 [300/401]: Processing client command 8 (in process_client_msg() at main.c:2637)
DEBUG1 [300/401]: Waiting for 1 URIs from client ... (in process_client_msg() at main.c:3201)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-152018 (in session_find_by_name() at session.c:169)
DEBUG3 [300/401]: Created hashtable size 4 at 0x7410afc8 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG1 [300/401]: Tracing session auto-20150313-152018 created with ID 2 by UID 0 GID 0 (in session_create() at session.c:276)
DEBUG2 [300/401]: Trying to find session by name auto-20150313-152018 (in session_find_by_name() at session.c:169)
DEBUG3 [300/401]: Created hashtable size 4 at 0x741101b0 of type 1 (in lttng_ht_new() at hashtable.c:127)
DEBUG2 [300/401]: Setting trace directory path from URI to /home/root/lttng-traces/auto-20150313-152018 (in add_uri_to_consumer() at cmd.c:481)

Here is the session:

root at socfpga_cyclone5:~# lttng start
PERROR [528/533]: kernctl_get_timestamp_begin: Inappropriate ioctl for device (in get_index_values() at kernel-consumer.c:973)
Tracing started for session auto-20150313-151441
root at socfpga_cyclone5:~# PERROR [528/533]: kernctl_get_timestamp_begin: Inappropriate ioctl for device (in get_index_values() at kernel-consumer.c:973)

root at socfpga_cyclone5:~# lttng stop
Waiting for data availability
Tracing stopped for session auto-20150313-151441

root at socfpga_cyclone5:~# ls -Rl
.:
drwxrwx---    3 root     root          4096 Mar 13 15:14 lttng-traces

./lttng-traces:
drwxrwx---    3 root     root          4096 Mar 13 15:14 auto-20150313-151441

./lttng-traces/auto-20150313-151441:
drwxrwx---    3 root     root          4096 Mar 13 15:14 kernel

./lttng-traces/auto-20150313-151441/kernel:
-rw-rw----    1 root     root             0 Mar 13 15:14 channel0_0
-rw-rw----    1 root     root             0 Mar 13 15:14 channel0_1
drwxrwx---    2 root     root          4096 Mar 13 15:14 index
-rw-rw----    1 root     root        221184 Mar 13 15:14 metadata

./lttng-traces/auto-20150313-151441/kernel/index:
-rw-rw----    1 root     root            16 Mar 13 15:14 channel0_0.idx
-rw-rw----    1 root     root            16 Mar 13 15:14 channel0_1.idx

I am using the following version of LTTng:

nbryan at meteor:/data/nbryan/Meteor/YoctoDaisy/poky/meta/recipes-kernel/lttng$ ls -1
babeltrace_1.1.1.bb
lttng-modules
lttng-modules_2.3.3.bb
lttng-modules_2.4.2.bb
lttng-tools
lttng-tools_2.3.1.bb
lttng-tools_2.4.0.bb
lttng-ust
lttng-ust_2.3.1.bb
lttng-ust_2.4.0.bb

Thank you for any clues,

Regards,

Neil.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150313/a3b5b17d/attachment-0001.html>


More information about the lttng-dev mailing list