3 TESTDIR
=$
(dirname $0)/..
5 if [ ! -x "$TESTDIR/tracepoint/tracepoint_test" ]; then
6 echo "tracepoint_test executable is not present"
10 source $TESTDIR/test_functions.sh
11 source $TESTDIR/tap.sh
13 starttest
"Testing Tracepoints"
15 USTTRACE
="$TESTDIR/../usttrace"
17 okx
$USTTRACE -L $TESTDIR/tracepoint
/tracepoint_test
18 trace_loc
=$
($USTTRACE -W)
19 trace_matches
-N "probe1" -n "5" "probe = 13" $trace_loc
20 trace_matches
-N "probe2" -n "5" "probe = 42" $trace_loc
21 trace_matches
-N "probe3" -n "1" "probe = \"probe3\"" $trace_loc
22 trace_matches
-N "probe4" -n "100" "probe4 = 42" $trace_loc
23 check_trace_logs
"$trace_loc"
This page took 0.0358 seconds and 4 git commands to generate.