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 50002f4d9be984e174d966b6a303bad14b2fcb22..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,6
+35,10
@@
function test_all_event()
lttng_enable_kernel_event $SESSION_NAME
start_lttng_tracing_ok
lttng_enable_kernel_event $SESSION_NAME
start_lttng_tracing_ok
+
+ # 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
stop_lttng_tracing_ok
validate_trace "sched_switch" $TRACE_PATH
This page took
0.023776 seconds
and
4
git commands to generate.