From 19e64f8e8bf0db7e322f9531dfcb7a358a707387 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Fri, 27 Oct 2023 11:56:35 +0200 Subject: [PATCH] tests/bsim bis: Reduce the test verbosity The test was printing one line for each packet it was sending by default. That creates a huge log and slows things down. Instead, let's only print those with verbosity set at 4 or higher. (cherry picked from commit 482416db01e5b8d3e8b91c52bb9daa6eb3d8cddd) Original-Signed-off-by: Alberto Escolar Piedras GitOrigin-RevId: 482416db01e5b8d3e8b91c52bb9daa6eb3d8cddd Change-Id: I423d6d16dc144fa959bb1138a151f162fc7f22b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4995031 Tested-by: ChromeOS Prod (Robot) Reviewed-by: Fabio Baltieri Commit-Queue: Fabio Baltieri Tested-by: Fabio Baltieri --- tests/bsim/bluetooth/ll/bis/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bsim/bluetooth/ll/bis/src/main.c b/tests/bsim/bluetooth/ll/bis/src/main.c index 6cc425953ed..232613171aa 100644 --- a/tests/bsim/bluetooth/ll/bis/src/main.c +++ b/tests/bsim/bluetooth/ll/bis/src/main.c @@ -183,7 +183,7 @@ static void iso_send(struct k_work *work) iso_data_len = MAX(sizeof(seq_num), ((seq_num % CONFIG_BT_ISO_TX_MTU) + 1)); net_buf_add_mem(buf, iso_data, iso_data_len); - printk("ISO send: seq_num %u\n", seq_num); + bs_trace_info_time(4, "ISO send: seq_num %u\n", seq_num); ret = bt_iso_chan_send(&bis_iso_chan, buf, seq_num++, BT_ISO_TIMESTAMP_NONE); if (ret < 0) {