X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=lttng%2Forg.eclipse.tracecompass.lttng2.control.ui.tests%2Ftestfiles%2FLTTngServiceMiTest.cfg;h=8c37e8fd869090a8acf91bd4665a0e7673f4d059;hb=a959e6942f547c90b430bdfd3b43c575df112555;hp=214e6a4290b10cb909369db6645106854b8cc6c9;hpb=95916b5f31b142441839be06fbeb6a293b8821cb;p=deliverable%2Ftracecompass.git diff --git a/lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/LTTngServiceMiTest.cfg b/lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/LTTngServiceMiTest.cfg index 214e6a4290..8c37e8fd86 100644 --- a/lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/LTTngServiceMiTest.cfg +++ b/lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/LTTngServiceMiTest.cfg @@ -9,6 +9,7 @@ # Contributors: # Jonathan Rajotte - Initial API and implementation # Bernd Hufmann - Added new test cases +# Bruno Roy - Added new test cases #################################################################### #################################################################### # Scenario: Test lttng not installed @@ -1666,6 +1667,95 @@ lttng --mi xml enable-event -a -u -s mysession2 -c mychannel --tracepoint + +lttng --mi xml enable-event -a -u -s mysession2 -c mychannel --tracepoint --exclude ust_tests_hello:tptest_sighandler + + +0 + + + + + enable-event + + + + * + TRACEPOINT + true + false + true + + ust_tests_hello:tptest_sighandler + + true + + + + true + + + + +lttng --mi xml enable-event -a -u -s mysession2 -c mychannel --tracepoint --exclude ust_tests_hello:tptest_sighandler,ust_tests_bye:tptest_sighandler + + +0 + + + + + enable-event + + + + * + TRACEPOINT + true + false + true + + ust_tests_hello:tptest_sighandler + ust_tests_bye:tptest_sighandler + + true + + + + true + + + + +lttng --mi xml enable-event ust* -u -s mysession2 -c mychannel --tracepoint --exclude ust_tests_hello:tptest_sighandler,ust_tests_bye:tptest_sighandler + + +0 + + + + + enable-event + + + + ust* + TRACEPOINT + true + false + true + + ust_tests_hello:tptest_sighandler + ust_tests_bye:tptest_sighandler + + true + + + + true + + + # Syscall test cases @@ -1858,6 +1948,187 @@ lttng --mi xml enable-event -a -k -s mysession2 +#################################################################### +# Scenario: Test "lttng enable-events ..." with exclusion +#################################################################### + +EventExcluded + + +lttng --mi xml enable-event ust* -u -s mysession2 -c mychannel --tracepoint --exclude ust_tests_hello:tptest_sighandler + + +0 + + + + + enable-event + + + + ust* + TRACEPOINT + true + false + true + + ust_tests_hello:tptest_sighandler + + true + + + + true + + + + +lttng --mi xml list mysession2 + + +0 + + + + + list + + + + mysession2 + /home/ebruroy/lttng-traces/mysession2-20160621-125643 + false + 0 + 0 + + + UST + PER_UID + + + + mychannel + true + + DISCARD + 131072 + 4 + 0 + 0 + MMAP + 0 + 0 + 0 + + + + ust* + TRACEPOINT + true + false + true + + + + + + + + + + + + + +lttng --mi xml enable-event ust* -u -s mysession2 -c mychannel --tracepoint --exclude ust_tests_hello:tptest_sighandler,ust_tests_bye:tptest_sighandler + + +0 + + + + + enable-event + + + + ust* + TRACEPOINT + true + false + true + + ust_tests_hello:tptest_sighandler + ust_tests_bye:tptest_sighandler + + true + + + + true + + + + +lttng --mi xml list mysession2 + + +0 + + + + + list + + + + mysession2 + /home/ebruroy/lttng-traces/mysession2-20160621-125933 + false + 0 + 0 + + + UST + PER_UID + + + + mychannel + true + + DISCARD + 131072 + 4 + 0 + 0 + MMAP + 0 + 0 + 0 + + + + ust* + TRACEPOINT + true + false + true + + + + + + + + + + + + + + #################################################################### # Scenario: Test "lttng add-context -h" and lttng --mi xml add-context ..." with different inputs ####################################################################