Linux bluetooth development
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v1 4/4] tools/userchan-tester: Enable hciemu debug output
Date: Tue,  5 May 2026 16:47:19 -0400	[thread overview]
Message-ID: <20260505204719.1348473-4-luiz.dentz@gmail.com> (raw)
In-Reply-To: <20260505204719.1348473-1-luiz.dentz@gmail.com>

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

Call hciemu_set_debug when debug output is enabled so that hciemu error
paths are visible during test runs.
---
 tools/userchan-tester.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/userchan-tester.c b/tools/userchan-tester.c
index 168b757c6ae8..f61d2779ed26 100644
--- a/tools/userchan-tester.c
+++ b/tools/userchan-tester.c
@@ -158,6 +158,9 @@ static void read_index_list_callback(uint8_t status, uint16_t length,
 		tester_pre_setup_failed();
 	}
 
+	if (tester_use_debug())
+		hciemu_set_debug(data->hciemu, mgmt_debug, "hciemu: ", NULL);
+
 	tester_print("New hciemu instance created");
 }
 
-- 
2.53.0


  parent reply	other threads:[~2026-05-05 20:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-05 20:47 [PATCH BlueZ v1 1/4] emulator/vhci: Add debug messages to error paths Luiz Augusto von Dentz
2026-05-05 20:47 ` [PATCH BlueZ v1 2/4] emulator/hciemu: " Luiz Augusto von Dentz
2026-05-05 20:47 ` [PATCH BlueZ v1 3/4] tools/gap-tester: Enable hciemu debug output Luiz Augusto von Dentz
2026-05-05 20:47 ` Luiz Augusto von Dentz [this message]
2026-05-05 21:53 ` [BlueZ,v1,1/4] emulator/vhci: Add debug messages to error paths bluez.test.bot
2026-05-06 13:30 ` [PATCH BlueZ v1 1/4] " patchwork-bot+bluetooth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260505204719.1348473-4-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox