<div dir="ltr">Hi Lichuanbao<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 12, 2016 at 4:30 AM, Lichuanbao <span dir="ltr"><<a href="mailto:lichuanbao@hisilicon.com" target="_blank">lichuanbao@hisilicon.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Jonathan ,Thank you for your kind help<br>
<span class=""><br>
>You got me curious: D02 ? D03 hisilicon board ? :)<br>
</span>Ha. You know it? It's D02.<br></blockquote><div><br></div><div>From name hope to see one in flesh some day.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><br>
>Does "lttng list -k" return a list of events ?<br>
</span>Yes.it works,list many event name<br></blockquote><div><br></div><div>Then you have a live lttng-sessiond.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><br>
>This line suggest that another instance was running.<br>
>Make sure to kill all lttng-sessiond instance before starting one to<br>
>make sure you have the actual log of the used sessiond.<br>
<br>
<br>
</span>Yes ,I tried,reboot the board,and "ps -A|grep lttng" ,here is no lttng session.<br>
after " lttng create mysession ",there is an error " Error: Could not get lock file /var/run/lttng/lttng-sessiond.lck, another instance is running."<br>
I used "2.8.0-rc1" version this time. Same problem.<br>
<br>
Logs:<br>
<br>
-bash-4.3# ps -A|grep lttng<br>
-bash-4.3# lttng create mysession<br>
Spawning a session daemon<br>
Session mysession created.<br>
Traces will be written in /root/lttng-traces/mysession-19700101-015353<br></blockquote><div><br></div><div>The following command "lttng-sessiond -vvv" will necessarily fail since the previous command " lttng create mysession" just spawned one.</div><div><br></div><div>Could you try these on a rebooted board as root:</div><div><br></div><div>(Make sure there is no sessiond running)</div><div><br></div><div>lttng-sessiond -vvv > sessiond.log 2>&1<br></div><div>lttng create </div><div>lttng enable-event -a -k</div><div>lttng start</div><div>sleep 1</div><div>lttng stop</div><div>lttng view</div><div><br></div><div>If on "lttng view" there is no events or any of the commands fail make sure to include their output and the sessiond.log file so we can pinpoint the problem.</div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
-bash-4.3# lttng-sessiond -vvv<br>
DEBUG1 - 01:54:06.834954 [2687/2687]: Resetting run_as worker signal handlers to default (in reset_sighandler() at runas.c:536)<br>
DEBUG1 - 01:54:06.835249 [2687/2687]: run_as signal handler set for SIGTERM and SIGINT (in set_worker_sighandlers() at runas.c:593)<br>
DEBUG1 - 01:54:06.835345 [2686/2686]: Health check time delta in seconds set to 20 (in health_init() at health.c:73)<br>
DEBUG1 - 01:54:06.835614 [2686/2686]: epoll set max size is 27037798 (in compat_epoll_set_max_size() at compat-epoll.c:288)<br>
DEBUG3 - 01:54:06.835798 [2686/2686]: Creating LTTng run directory: /var/run/lttng (in create_lttng_rundir() at main.c:5246)<br>
DEBUG1 - 01:54:06.835812 [2686/2688]: [ht-thread] startup. (in thread_ht_cleanup() at ht-cleanup.c:36)<br>
DEBUG3 - 01:54:06.835979 [2686/2688]: [ht-thread] Polling. (in thread_ht_cleanup() at ht-cleanup.c:66)<br>
DEBUG2 - 01:54:06.835996 [2686/2686]: Kernel consumer err path: /var/run/lttng/kconsumerd/error (in main() at main.c:5688)<br>
DEBUG2 - 01:54:06.836145 [2686/2686]: Kernel consumer cmd path: /var/run/lttng/kconsumerd/command (in main() at main.c:5690)<br>
PERROR - 01:54:06.836251 [2686/2686]: fcntl lock file: Resource temporarily unavailable (in utils_create_lock_file() at utils.c:541)<br>
<span class="">Error: Could not get lock file /var/run/lttng/lttng-sessiond.lck, another instance is running.<br>
</span>DEBUG1 - 01:54:06.836379 [2686/2686]: Cleanup sessiond (in sessiond_cleanup() at main.c:624)<br>
DEBUG1 - 01:54:06.836456 [2686/2686]: Removing sessiond and consumerd content of directory /var/run/lttng (in sessiond_cleanup() at main.c:643)<br>
DEBUG1 - 01:54:06.836514 [2686/2686]: Removing /var/run/lttng/lttng-sessiond.pid (in sessiond_cleanup() at main.c:649)<br>
DEBUG1 - 01:54:06.836609 [2686/2686]: Removing /var/run/lttng/agent.port (in sessiond_cleanup() at main.c:654)<br>
DEBUG1 - 01:54:06.836719 [2686/2686]: Removing /var/run/lttng/kconsumerd/error (in sessiond_cleanup() at main.c:661)<br>
DEBUG1 - 01:54:06.836805 [2686/2686]: Removing directory /var/run/lttng/kconsumerd (in sessiond_cleanup() at main.c:667)<br>
DEBUG1 - 01:54:06.836893 [2686/2686]: Removing /var/run/lttng/ustconsumerd32/error (in sessiond_cleanup() at main.c:674)<br>
DEBUG1 - 01:54:06.836991 [2686/2686]: Removing directory /var/run/lttng/ustconsumerd32 (in sessiond_cleanup() at main.c:680)<br>
DEBUG1 - 01:54:06.837075 [2686/2686]: Removing /var/run/lttng/ustconsumerd64/error (in sessiond_cleanup() at main.c:687)<br>
DEBUG1 - 01:54:06.837169 [2686/2686]: Removing directory /var/run/lttng/ustconsumerd64 (in sessiond_cleanup() at main.c:693)<br>
DEBUG1 - 01:54:06.837253 [2686/2686]: Cleaning up all sessions (in sessiond_cleanup() at main.c:696)<br>
DEBUG1 - 01:54:06.837331 [2686/2686]: Cleaning up all agent apps (in sessiond_cleanup() at main.c:713)<br>
DEBUG1 - 01:54:06.837397 [2686/2686]: Closing all UST sockets (in sessiond_cleanup() at main.c:716)<br>
DEBUG2 - 01:54:06.837488 [2686/2686]: UST app cleaning registered apps hash table (in ust_app_clean_list() at ust-app.c:3818)<br>
DEBUG3 - 01:54:06.846332 [2686/2686]: Buffer registry destroy all registry (in buffer_reg_destroy_registries() at buffer-registry.c:753)<br>
DEBUG2 - 01:54:06.846414 [2686/2686]: Closing kernel fd (in sessiond_cleanup() at main.c:721)<br>
DEBUG1 - 01:54:06.846481 [2686/2686]: Unloading kernel modules (in sessiond_cleanup() at main.c:728)<br>
DEBUG1 - 01:54:06.892609 [2686/2686]: Modprobe removal successful lttng-ring-buffer-metadata-mmap-client (in modprobe_remove_lttng() at modprobe.c:371)<br>
DEBUG1 - 01:54:06.940557 [2686/2686]: Modprobe removal successful lttng-ring-buffer-client-mmap-overwrite (in modprobe_remove_lttng() at modprobe.c:371)<br>
DEBUG1 - 01:54:06.996528 [2686/2686]: Modprobe removal successful lttng-ring-buffer-client-mmap-discard (in modprobe_remove_lttng() at modprobe.c:371)<br>
DEBUG1 - 01:54:07.405263 [2686/2686]: Modprobe removal successful lttng-ring-buffer-metadata-client (in modprobe_remove_lttng() at modprobe.c:371)<br>
DEBUG1 - 01:54:07.805463 [2686/2686]: Modprobe removal successful lttng-ring-buffer-client-overwrite (in modprobe_remove_lttng() at modprobe.c:371)<br>
DEBUG1 - 01:54:07.124584 [2686/2686]: Modprobe removal successful lttng-ring-buffer-client-discard (in modprobe_remove_lttng() at modprobe.c:371)<br>
DEBUG3 - 01:54:07.124716 [2686/2688]: [ht-thread] Returning from poll on 2 fds. (in thread_ht_cleanup() at ht-cleanup.c:73)<br>
DEBUG1 - 01:54:07.124831 [2686/2688]: [ht-cleanup] quit. (in thread_ht_cleanup() at ht-cleanup.c:152)<br>
DEBUG1 - 01:54:07.124916 [2686/2688]: [ht-cleanup] Thread terminates. (in thread_ht_cleanup() at ht-cleanup.c:163)<br>
DEBUG1 - 01:54:07.125084 [2686/2686]: Cleaning up options (in sessiond_cleanup_options() at main.c:775)<br>
DEBUG1 - 01:54:07.125161 [2686/2686]: Destroying run_as worker (in run_as_destroy_worker() at runas.c:705)<br>
DEBUG1 - 01:54:07.125236 [2686/2686]: Closing run_as worker socket (in run_as_destroy_worker() at runas.c:711)<br>
DEBUG1 - 01:54:07.125343 [2687/2687]: run_as worker exiting (ret = 0) (in run_as_create_worker() at runas.c:655)<br>
DEBUG1 - 01:54:07.126301 [2686/2686]: lttng-runas terminated with status code 0 (in run_as_destroy_worker() at runas.c:733)<br>
DEBUG1 - 01:54:07.126332 [2686/2686]: *** assert failed :-) *** ==> Matthew, BEET driven development works! (in sessiond_cleanup_options() at main.c:807)<br>
-bash-4.3# ps -A|grep lttng<br>
2582 ? 00:00:00 lttng-sessiond<br>
2583 ? 00:00:00 lttng-runas<br>
-bash-4.3# lttng list -k<br>
Kernel events:<br>
-------------<br>
lttng_logger (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_touch_buffer (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_dirty_buffer (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_rq_abort (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_rq_requeue (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_rq_complete (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_rq_insert (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_rq_issue (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_bio_bounce (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_bio_complete (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_bio_backmerge (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_bio_frontmerge (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_bio_queue (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_getrq (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_sleeprq (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_plug (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_unplug (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_split (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_bio_remap (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
block_rq_remap (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_transaction_commit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_inode_new (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_inode_request (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_inode_evict (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_get_extent (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_ordered_extent_add (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_ordered_extent_remove (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_ordered_extent_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_ordered_extent_put (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs__extent_writepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_writepage_end_io_hook (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_sync_file (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_sync_fs (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_delayed_tree_ref (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_delayed_data_ref (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_delayed_ref_head (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_chunk_alloc (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_chunk_free (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_cow_block (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_space_reservation (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_reserved_extent_alloc (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_reserved_extent_free (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_find_free_extent (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_reserve_extent (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_reserve_extent_cluster (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_find_cluster (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_failed_cluster_setup (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_setup_cluster (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_alloc_extent_state (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
btrfs_free_extent_state (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
compaction_isolate_migratepages (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
compaction_isolate_freepages (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
compaction_migratepages (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_free_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_request_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_allocate_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_evict_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_drop_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_mark_inode_dirty (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_write_begin (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_ordered_write_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_writeback_write_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_journalled_write_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_ordered_writepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_writeback_writepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_journalled_writepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_readpage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_releasepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_invalidatepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_discard_blocks (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_request_blocks (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_allocate_blocks (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_free_blocks (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_sync_file_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_sync_file_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_sync_fs (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_rsv_window_add (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_discard_reservation (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_alloc_new_reservation (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_reserved (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_forget (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_read_block_bitmap (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_direct_IO_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_direct_IO_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_unlink_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_unlink_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_truncate_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_truncate_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_get_blocks_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_get_blocks_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext3_load_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_free_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_request_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_allocate_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_evict_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_drop_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mark_inode_dirty (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_begin_ordered_truncate (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_write_begin (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_da_write_begin (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ordered_write_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_writeback_write_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_journalled_write_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_da_write_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_da_writepages (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_da_write_pages (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_da_write_pages_extent (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_da_writepages_result (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_writepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_readpage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_releasepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_invalidatepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_journalled_invalidatepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_discard_blocks (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mb_new_inode_pa (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mb_new_group_pa (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mb_release_inode_pa (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mb_release_group_pa (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_discard_preallocations (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mb_discard_preallocations (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_request_blocks (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_allocate_blocks (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_free_blocks (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_sync_file_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_sync_file_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_sync_fs (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_alloc_da_blocks (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mballoc_alloc (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mballoc_prealloc (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mballoc_discard (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mballoc_free (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_forget (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_da_update_reserve_space (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_da_reserve_space (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_da_release_space (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mb_bitmap_load (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_mb_buddy_bitmap_load (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_read_block_bitmap_load (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_load_inode_bitmap (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_direct_IO_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_direct_IO_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_fallocate_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_fallocate_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_punch_hole (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_zero_range (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_unlink_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_unlink_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_truncate_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_truncate_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_convert_to_initialized_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_convert_to_initialized_fastpath (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_map_blocks_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ind_map_blocks_enter (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_map_blocks_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ind_map_blocks_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_load_extent (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_load_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_journal_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_journal_start_reserved (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_handle_uninitialized_extents (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_get_implied_cluster_alloc_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_put_in_cache (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_in_cache (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_find_delalloc_range (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_get_reserved_cluster_alloc (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_show_extent (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_remove_blocks (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_rm_leaf (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_rm_idx (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_remove_space (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_ext_remove_space_done (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_es_insert_extent (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
ext4_es_cache_extent (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
gpio_direction (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
gpio_value (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
irq_handler_entry (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
irq_handler_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
irq_softirq_entry (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
irq_softirq_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
irq_softirq_raise (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd_checkpoint (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd_start_commit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd_commit_locking (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd_commit_flushing (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd_commit_logging (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd_drop_transaction (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd_end_commit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd_do_submit_data (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd_cleanup_journal_tail (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd_journal_write_superblock (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_checkpoint (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_start_commit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_commit_locking (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_commit_flushing (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_commit_logging (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_drop_transaction (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_end_commit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_submit_inode_data (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_run_stats (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_checkpoint_stats (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_update_log_tail (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
jbd2_write_superblock (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_kmalloc (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_cache_alloc (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_kmalloc_node (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_cache_alloc_node (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_kfree (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_cache_free (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_mm_page_free (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_mm_page_free_batched (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_mm_page_alloc (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_mm_page_alloc_zone_locked (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_mm_page_pcpu_drain (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kmem_mm_page_alloc_extfrag (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kvm_userspace_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kvm_set_irq (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kvm_mmio (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kvm_fpu (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
kvm_age_page (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
module_load (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
module_free (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
module_get (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
module_put (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
module_request (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
napi_poll (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
net_dev_xmit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
net_dev_queue (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
net_if_receive_skb (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
net_if_rx (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
power_cpu_idle (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
power_cpu_frequency (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
power_machine_suspend (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
power_wakeup_source_activate (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
power_wakeup_source_deactivate (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
power_clock_enable (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
power_clock_disable (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
power_clock_set_rate (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
power_domain_target (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
printk_console (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
random_mix_pool_bytes (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
random_mix_pool_bytes_nolock (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
random_credit_entropy_bits (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
random_get_random_bytes (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
random_extract_entropy (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
random_extract_entropy_user (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
rcu_utilization (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regmap_reg_write (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regmap_reg_read (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regmap_reg_read_cache (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regmap_hw_read_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regmap_hw_read_done (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regmap_hw_write_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regmap_hw_write_done (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regmap_regcache_sync (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regmap_cache_only (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regmap_cache_bypass (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regulator_enable (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regulator_enable_delay (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regulator_enable_complete (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regulator_disable (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regulator_disable_complete (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regulator_set_voltage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
regulator_set_voltage_complete (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_kthread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_kthread_stop_ret (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_wakeup (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_wakeup_new (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_switch (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_migrate_task (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_process_free (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_process_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_wait_task (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_process_wait (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_process_fork (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_process_exec (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_stat_wait (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_stat_sleep (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_stat_iowait (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_stat_blocked (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_stat_runtime (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sched_pi_setprio (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
scsi_dispatch_cmd_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
scsi_dispatch_cmd_error (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
scsi_dispatch_cmd_done (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
scsi_dispatch_cmd_timeout (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
scsi_eh_wakeup (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
signal_generate (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
signal_deliver (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
skb_kfree (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
skb_consume (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
skb_copy_datagram_iovec (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sock_rcvqueue_full (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
sock_exceed_buf_limit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
lttng_statedump_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
lttng_statedump_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
lttng_statedump_process_state (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
lttng_statedump_file_descriptor (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
lttng_statedump_vm_map (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
lttng_statedump_network_interface (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
lttng_statedump_block_device (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
lttng_statedump_interrupt (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
rpc_call_status (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
rpc_bind_status (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
rpc_connect_status (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
rpc_task_begin (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
rpc_task_run_action (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
rpc_task_complete (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
rpc_task_sleep (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
rpc_task_wakeup (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_init (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_expire_entry (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_expire_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_cancel (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_hrtimer_init (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_hrtimer_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_hrtimer_expire_entry (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_hrtimer_expire_exit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_hrtimer_cancel (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_itimer_state (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
timer_itimer_expire (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
udp_fail_queue_rcv_skb (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_kswapd_sleep (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_kswapd_wake (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_wakeup_kswapd (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_direct_reclaim_begin (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_memcg_reclaim_begin (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_memcg_softlimit_reclaim_begin (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_direct_reclaim_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_memcg_reclaim_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_memcg_softlimit_reclaim_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_shrink_slab_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_shrink_slab_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_lru_isolate (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_memcg_isolate (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_writepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
mm_vmscan_lru_shrink_inactive (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
workqueue_queue_work (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
workqueue_activate_work (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
workqueue_execute_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
workqueue_execute_end (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_dirty_page (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_dirty_inode_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_dirty_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_mark_inode_dirty (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_write_inode_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_write_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_nothread (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_queue (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_exec (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_written (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_wait (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_pages_written (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_bdi_register (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_nowork (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_wake_background (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_wake_thread (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_wake_forker_thread (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_bdi_unregister (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_thread_start (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_thread_stop (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_wbc_writepage (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_queue_io (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_global_dirty_state (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_bdi_dirty_ratelimit (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_balance_dirty_pages (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_sb_inodes_requeue (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_congestion_wait (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_wait_iff_congested (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
writeback_single_inode (loglevel: TRACE_EMERG (0)) (type: tracepoint)<br>
<br>
<br>
<br>
-----邮件原件-----<br>
发件人: lttng-dev [mailto:<a href="mailto:lttng-dev-bounces@lists.lttng.org">lttng-dev-bounces@lists.lttng.org</a>] 代表 Jonathan Rajotte Julien<br>
发送时间: 2016年4月11日 22:14<br>
收件人: <a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
主题: Re: [lttng-dev] lttng trace kernel on arm64<br>
<div class=""><div class="h5"><br>
Hi,<br>
<br>
On 2016-04-08 02:28 AM, Lichuanbao wrote:<br>
><br>
> Hi,<br>
><br>
> I want to use lttng trace kernel event,I installed lttng-tools<br>
> 2.7.1 lttng-ust 2.7.2 lttng-modules 2.7.2 on my arm64 board,<br>
><br>
<br>
You got me curious: D02 ? D03 hisilicon board ? :)<br>
<br>
> And then I create my session like sub command as root,but there is<br>
> nothing result to view.<br>
><br>
> # lttng create<br>
><br>
> # lttng enable-event --kernel --all<br>
><br>
> # lttng start<br>
><br>
> # sleep 10 # let the system generate some activity<br>
><br>
> # lttng stop<br>
><br>
> # lttng view<br>
><br>
> # lttng destroy<br>
><br>
<br>
Does "lttng list -k" return a list of events ?<br>
<br>
> -bash-4.3# lttng view<br>
><br>
> Trace directory: /root/lttng-traces/auto-20160407-211248<br>
><br>
> [error] Cannot open any trace for reading.<br>
><br>
> [error] opening trace "/root/lttng-traces/auto-20160407-211248" for<br>
> reading.<br>
><br>
> [error] none of the specified trace paths could be opened.<br>
><br>
> Get thes session daemon log as follow:<br>
><br>
> bash-4.3# lttng-sessiond -vvv<br>
><br>
> DEBUG1 - 21:52:15.396991 [5621/5621]: run_as signal handler set for<br>
> SIGTERM and SIGINT (in set_worker_sighandlers() at runas.c:600)<br>
><br>
> DEBUG1 - 21:52:15.397410 [5620/5620]: Health check time delta in<br>
> seconds set to 20 (in health_init() at health.c:74)<br>
><br>
> DEBUG1 - 21:52:15.397661 [5620/5620]: epoll set max size is 27037798<br>
> (in compat_epoll_set_max_size() at compat-epoll.c:290)<br>
><br>
> DEBUG3 - 21:52:15.397838 [5620/5620]: Creating LTTng run directory:<br>
> /var/run/lttng (in create_lttng_rundir() at main.c:5156)<br>
><br>
> DEBUG1 - 21:52:15.397852 [5620/5622]: [ht-thread] startup. (in<br>
> thread_ht_cleanup() at ht-cleanup.c:37)<br>
><br>
> DEBUG2 - 21:52:15.397986 [5620/5620]: Kernel consumer err path:<br>
> /var/run/lttng/kconsumerd/error (in main() at main.c:5601)<br>
><br>
> DEBUG2 - 21:52:15.398070 [5620/5620]: Kernel consumer cmd path:<br>
> /var/run/lttng/kconsumerd/command (in main() at main.c:5603)<br>
><br>
> DEBUG3 - 21:52:15.398034 [5620/5622]: [ht-thread] Polling. (in<br>
> thread_ht_cleanup() at ht-cleanup.c:67)<br>
><br>
> Error: Could not get lock file /var/run/lttng/lttng-sessiond.lck,<br>
> another instance is running.<br>
><br>
<br>
This line suggest that another instance was running.<br>
<br>
Make sure to kill all lttng-sessiond instance before starting one to<br>
make sure you have the actual log of the used sessiond.<br>
<br>
Cheers<br>
<br>
<br>
> DEBUG1 - 21:52:15.398240 [5620/5620]: Cleanup sessiond (in<br>
> sessiond_cleanup() at main.c:622)<br>
><br>
> DEBUG1 - 21:52:15.398294 [5620/5620]: Removing sessiond and consumerd<br>
> content of directory /var/run/lttng (in sessiond_cleanup() at main.c:641)<br>
><br>
> DEBUG1 - 21:52:15.398321 [5620/5620]: Removing<br>
> /var/run/lttng/lttng-sessiond.pid (in sessiond_cleanup() at main.c:647)<br>
><br>
> DEBUG1 - 21:52:15.398372 [5620/5620]: Removing<br>
> /var/run/lttng/agent.port (in sessiond_cleanup() at main.c:652)<br>
><br>
> DEBUG1 - 21:52:15.398420 [5620/5620]: Removing<br>
> /var/run/lttng/kconsumerd/error (in sessiond_cleanup() at main.c:659)<br>
><br>
> DEBUG1 - 21:52:15.398472 [5620/5620]: Removing directory<br>
> /var/run/lttng/kconsumerd (in sessiond_cleanup() at main.c:665)<br>
><br>
> DEBUG1 - 21:52:15.398526 [5620/5620]: Removing<br>
> /var/run/lttng/ustconsumerd32/error (in sessiond_cleanup() at main.c:672)<br>
><br>
> DEBUG1 - 21:52:15.398579 [5620/5620]: Removing directory<br>
> /var/run/lttng/ustconsumerd32 (in sessiond_cleanup() at main.c:678)<br>
><br>
> DEBUG1 - 21:52:15.398620 [5620/5620]: Removing<br>
> /var/run/lttng/ustconsumerd64/error (in sessiond_cleanup() at main.c:685)<br>
><br>
> DEBUG1 - 21:52:15.398673 [5620/5620]: Removing directory<br>
> /var/run/lttng/ustconsumerd64 (in sessiond_cleanup() at main.c:691)<br>
><br>
> DEBUG1 - 21:52:15.398734 [5620/5620]: Cleaning up all sessions (in<br>
> sessiond_cleanup() at main.c:694)<br>
><br>
> DEBUG1 - 21:52:15.398765 [5620/5620]: Cleaning up all agent apps (in<br>
> sessiond_cleanup() at main.c:711)<br>
><br>
> DEBUG1 - 21:52:15.398789 [5620/5620]: Closing all UST sockets (in<br>
> sessiond_cleanup() at main.c:714)<br>
><br>
> DEBUG2 - 21:52:15.398813 [5620/5620]: UST app cleaning registered apps<br>
> hash table (in ust_app_clean_list() at ust-app.c:3702)<br>
><br>
> DEBUG3 - 21:52:15.398837 [5620/5620]: Buffer registry destroy all<br>
> registry (in buffer_reg_destroy_registries() at buffer-registry.c:716)<br>
><br>
> DEBUG2 - 21:52:15.398861 [5620/5620]: Closing kernel fd (in<br>
> sessiond_cleanup() at main.c:719)<br>
><br>
> DEBUG1 - 21:52:15.398884 [5620/5620]: Unloading kernel modules (in<br>
> sessiond_cleanup() at main.c:726)<br>
><br>
> DEBUG1 - 21:52:15.403580 [5620/5620]: Modprobe removal successful<br>
> lttng-kretprobes (in modprobe_remove_lttng() at modprobe.c:126)<br>
><br>
> DEBUG1 - 21:52:15.407855 [5620/5620]: Modprobe removal successful<br>
> lttng-kprobes (in modprobe_remove_lttng() at modprobe.c:126)<br>
><br>
> DEBUG1 - 21:52:15.412073 [5620/5620]: Modprobe removal successful<br>
> lttng-ftrace (in modprobe_remove_lttng() at modprobe.c:126)<br>
><br>
> DEBUG1 - 21:52:15.416256 [5620/5620]: Modprobe removal successful<br>
> lttng-types (in modprobe_remove_lttng() at modprobe.c:126)<br>
><br>
> DEBUG1 - 21:52:15.420593 [5620/5620]: Modprobe removal successful<br>
> lttng-ring-buffer-metadata-mmap-client (in modprobe_remove_lttng() at<br>
> modprobe.c:126)<br>
><br>
> DEBUG1 - 21:52:15.425108 [5620/5620]: Modprobe removal successful<br>
> lttng-ring-buffer-client-mmap-overwrite (in modprobe_remove_lttng() at<br>
> modprobe.c:126)<br>
><br>
> DEBUG1 - 21:52:15.429745 [5620/5620]: Modprobe removal successful<br>
> lttng-ring-buffer-client-mmap-discard (in modprobe_remove_lttng() at<br>
> modprobe.c:126)<br>
><br>
> Error: Unable to remove module lttng-ring-buffer-metadata-client<br>
><br>
> DEBUG1 - 21:52:15.438779 [5620/5620]: Modprobe removal successful<br>
> lttng-ring-buffer-client-overwrite (in modprobe_remove_lttng() at<br>
> modprobe.c:126)<br>
><br>
> Error: Unable to remove module lttng-ring-buffer-client-discard<br>
><br>
> Error: Unable to remove module lttng-lib-ring-buffer<br>
><br>
> Error: Unable to remove module lttng-tracer<br>
><br>
> DEBUG3 - 21:52:15.452135 [5620/5622]: [ht-thread] Returning from poll<br>
> on 2 fds. (in thread_ht_cleanup() at ht-cleanup.c:74)<br>
><br>
> DEBUG1 - 21:52:15.452186 [5620/5622]: [ht-cleanup] quit. (in<br>
> thread_ht_cleanup() at ht-cleanup.c:153)<br>
><br>
> DEBUG1 - 21:52:15.452225 [5620/5622]: [ht-cleanup] Thread terminates.<br>
> (in thread_ht_cleanup() at ht-cleanup.c:164)<br>
><br>
> DEBUG1 - 21:52:15.452333 [5620/5620]: Cleaning up options (in<br>
> sessiond_cleanup_options() at main.c:773)<br>
><br>
> DEBUG1 - 21:52:15.453308 [5620/5620]: lttng-runas terminated with<br>
> status code 0 (in run_as_destroy_worker() at runas.c:737)<br>
><br>
> DEBUG1 - 21:52:15.453349 [5620/5620]: *** assert failed :-) *** ==><br>
> Matthew, BEET driven development works! (in sessiond_cleanup_options()<br>
> at main.c:805)<br>
><br>
> can anybody help me ?<br>
><br>
> thanks very much.<br>
><br>
> lichuanbao<br>
><br>
> ShenZhen in China<br>
><br>
><br>
><br>
> _______________________________________________<br>
> lttng-dev mailing list<br>
> <a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
> <a href="https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" rel="noreferrer" target="_blank">https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
<br>
--<br>
Jonathan R. Julien<br>
Efficios<br>
<br>
_______________________________________________<br>
lttng-dev mailing list<br>
<a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
<a href="https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" rel="noreferrer" target="_blank">https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
_______________________________________________<br>
lttng-dev mailing list<br>
<a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
<a href="https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" rel="noreferrer" target="_blank">https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Jonathan Rajotte Julien<div><br></div></div></div></div></div>
</div></div>