Fix: test lines too long
[deliverable/lttng-analyses.git] / lttng-analyses-record
index d6d39718f82858f992b4a14f1d7d7d2af0ca9d3d..ecddc72356cff2e59cf5c71847409d3e0cb4262b 100755 (executable)
@@ -2,7 +2,7 @@
 #
 # The MIT License (MIT)
 #
-# Copyright (C) 2015 - Julien Desfossez <jdesfosez@efficios.com>
+# Copyright (C) 2015 - Julien Desfossez <jdesfossez@efficios.com>
 #
 # Permission is hereby granted, free of charge, to any person obtaining a copy
 # of this software and associated documentation files (the "Software"), to deal
@@ -88,12 +88,12 @@ trap "destroy" SIGINT SIGTERM
 lttng enable-channel -k chan1 --subbuf-size=8M >/dev/null
 
 # events that always work
-lttng enable-event -s $SESSION_NAME -k sched_switch,block_rq_complete,block_rq_issue,block_bio_remap,block_bio_backmerge,netif_receive_skb,net_dev_xmit,sched_process_fork,sched_process_exec,lttng_statedump_process_state,lttng_statedump_file_descriptor,lttng_statedump_block_device,mm_vmscan_wakeup_kswapd,mm_page_free,mm_page_alloc,block_dirty_buffer,irq_handler_entry,irq_handler_exit,softirq_entry,softirq_exit,softirq_raise -c chan1 >/dev/null
-[[ $? != 0 ]] && exit 2
+lttng enable-event -s $SESSION_NAME -k sched_switch,sched_wakeup,sched_waking,block_rq_complete,block_rq_issue,block_bio_remap,block_bio_backmerge,netif_receive_skb,net_dev_xmit,sched_process_fork,sched_process_exec,lttng_statedump_process_state,lttng_statedump_file_descriptor,lttng_statedump_block_device,mm_vmscan_wakeup_kswapd,mm_page_free,mm_page_alloc,block_dirty_buffer,irq_handler_entry,irq_handler_exit,softirq_entry,softirq_exit,softirq_raise -c chan1 >/dev/null
+[[ $? != 0 ]] && echo "Warning: some events were not enabled, some analyses might not be complete"
 
 # events that might fail on specific kernels and that are not mandatory
 lttng enable-event -s $SESSION_NAME -k writeback_pages_written -c chan1 >/dev/null 2>&1
-[[ $? != 0 ]] && echo "Warning: Optional event writeback_pages_written could not be enabled, everything will still work"
+[[ $? != 0 ]] && echo "Warning: Optional event writeback_pages_written could not be enabled, everything will still work (experimental feature)"
 
 lttng enable-event -s $SESSION_NAME -k -c chan1 --syscall -a >/dev/null
 [[ $? != 0 ]] && exit 2
This page took 0.024934 seconds and 5 git commands to generate.