From: Jonathan Rajotte Date: Fri, 28 Jul 2017 17:40:41 +0000 (-0400) Subject: Test: kernel testing for notification X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=854382b8a0f18fa77ba97eac55a61dd8d8d8cc85;hp=854382b8a0f18fa77ba97eac55a61dd8d8d8cc85;p=lttng-tools.git 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 Signed-off-by: Jérémie Galarneau ---