projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
relayd: introduce --group-output-by-session
[lttng-tools.git]
/
tests
/
regression
/
kernel
/
test_all_events
diff --git
a/tests/regression/kernel/test_all_events
b/tests/regression/kernel/test_all_events
index 444f0853e1ab80a3b32fd5604bb84155764b9adc..713c717ffb96bb770996fb500dcfd315cd94cd70 100755
(executable)
--- a/
tests/regression/kernel/test_all_events
+++ b/
tests/regression/kernel/test_all_events
@@
-21,6
+21,8
@@
CURDIR=$(dirname $0)/
TESTDIR=$CURDIR/../..
NUM_TESTS=8
TESTDIR=$CURDIR/../..
NUM_TESTS=8
+TESTCMD="/bin/true"
+
source $TESTDIR/utils/utils.sh
function test_all_event()
source $TESTDIR/utils/utils.sh
function test_all_event()
@@
-33,11
+35,15
@@
function test_all_event()
lttng_enable_kernel_event $SESSION_NAME
start_lttng_tracing_ok
lttng_enable_kernel_event $SESSION_NAME
start_lttng_tracing_ok
- stop_lttng_tracing
+
+ # Running a process and waiting for its completion forces the triggering of a
+ # sched_switch event
+ eval ${TESTCMD}
+ stop_lttng_tracing_ok
validate_trace "sched_switch" $TRACE_PATH
validate_trace "sched_switch" $TRACE_PATH
- destroy_lttng_session $SESSION_NAME
+ destroy_lttng_session
_ok
$SESSION_NAME
rm -rf $TRACE_PATH
}
rm -rf $TRACE_PATH
}
This page took
0.023471 seconds
and
4
git commands to generate.