projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: Fix: list-triggers test case out of date
[lttng-tools.git]
/
tests
/
regression
/
tools
/
live
/
test_kernel
diff --git
a/tests/regression/tools/live/test_kernel
b/tests/regression/tools/live/test_kernel
index 5e4a8d882539f211801d9d5a1137a027a276cc95..25cb0eda17d6dabe3b4846d6ba2daba331a0942b 100755
(executable)
--- a/
tests/regression/tools/live/test_kernel
+++ b/
tests/regression/tools/live/test_kernel
@@
-14,7
+14,7
@@
NR_USEC_WAIT=1
DELAY_USEC=2000000
SESSION_NAME="live"
DELAY_USEC=2000000
SESSION_NAME="live"
-EVENT_NAME="
sched_switch
"
+EVENT_NAME="
lttng_test_filter_event
"
TRACE_PATH=$(mktemp -d)
TRACE_PATH=$(mktemp -d)
@@
-47,11
+47,15
@@
else
exit 0
fi
exit 0
fi
+modprobe lttng-test
+
start_lttng_sessiond_notap
start_lttng_relayd_notap "-o $TRACE_PATH"
setup_live_tracing
start_lttng_sessiond_notap
start_lttng_relayd_notap "-o $TRACE_PATH"
setup_live_tracing
+echo -n "1" > /proc/lttng-test-filter-event
+
# Start the live test
$TESTDIR/regression/tools/live/live_test
# Start the live test
$TESTDIR/regression/tools/live/live_test
@@
-59,3
+63,5
@@
clean_live_tracing
stop_lttng_relayd_notap
stop_lttng_sessiond_notap
stop_lttng_relayd_notap
stop_lttng_sessiond_notap
+
+modprobe --remove lttng-test
This page took
0.025391 seconds
and
4
git commands to generate.