Test: kernel testing for notification
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 28 Jul 2017 17:40:41 +0000 (13:40 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 12 Nov 2017 20:03:34 +0000 (15:03 -0500)
commit60c78fd59a0aab218e567a3c8164516bcb0b6650
treec00c2b0878649dac4048c39605d8d0a98d1fecec
parenta2483fb47ca4bd66d248d3258c209d10780f6a5e
Test: kernel testing for notification

Perform notification tests on both domains.

Scenarios where low notifications are wanted need further synchronization
since multiple low notifications can be sent between resume_consumer
and the lttng stop command. This problem can be addressed by suspending
the generation of events. This is achieved by the use of signal-aware
background shells and the use of lttng-test kernel module or
gen-ust-events as events generator.

These background shells are controlled by signal SIGUSR1 and
provide their states via a state file. If the file is present the
application is suspended and does not generate events, otherwise events
are generated.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/Makefile.am
tests/regression/tools/notification/Makefile.am
tests/regression/tools/notification/base_client.c
tests/regression/tools/notification/notification.c
tests/regression/tools/notification/test_notification [deleted file]
tests/regression/tools/notification/test_notification_kernel [new file with mode: 0755]
tests/regression/tools/notification/test_notification_multi_app
tests/regression/tools/notification/test_notification_ust [new file with mode: 0755]
tests/utils/utils.sh
This page took 0.026551 seconds and 4 git commands to generate.