3 # Copyright (C) - 2013 Christian Babeux <christian.babeux@efficios.com>
5 # This program is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License, version 2 only, as
7 # published by the Free Software Foundation.
9 # This program is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 # You should have received a copy of the GNU General Public License along with
15 # this program; if not, write to the Free Software Foundation, Inc., 51
16 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 TEST_DESC
="UST tracer - Event wildcard"
23 BIN_NAME
="gen-ust-events"
24 SESSION_NAME
="valid_filter"
25 EVENT_NAME
="tp:tptest"
28 source $TESTDIR/utils
/utils.sh
30 function test_event_wildcard
()
32 TRACE_PATH
=$
(mktemp
-d)
33 SESSION_NAME
="ust_event_basic"
34 SESSION_NAME2
="ust_event_basic2"
40 create_lttng_session_ok
$SESSION_NAME $TRACE_PATH
42 enable_ust_lttng_event_ok
$SESSION_NAME "$EVENT_NAME"
43 enable_ust_lttng_event_ok
$SESSION_NAME "$EVENT_NAME2"
45 start_lttng_tracing_ok
48 TODO
="Validate trace output is coherent"
52 destroy_lttng_session_ok
$SESSION_NAME
57 # MUST set TESTDIR before calling those functions
60 print_test_banner
"$TEST_DESC"