Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
{
# Catch sigint and try to cleanup limits
{
# Catch sigint and try to cleanup limits
+ trap interrupt_cleanup SIGTERM
trap interrupt_cleanup SIGINT
BW_LIMITS=(3200 1600 800 400 200 100 50 25)
for BW in ${BW_LIMITS[@]};
do
diag "Test high-throughput with bandwidth limit set to ${BW}kbits"
trap interrupt_cleanup SIGINT
BW_LIMITS=(3200 1600 800 400 200 100 50 25)
for BW in ${BW_LIMITS[@]};
do
diag "Test high-throughput with bandwidth limit set to ${BW}kbits"
set_bw_limit $BW
start_lttng_sessiond
set_bw_limit $BW
start_lttng_sessiond