Linux bluetooth development
 help / color / mirror / Atom feed
* [bluez/bluez] 7828f7: emulator/vhci: Add debug messages to error paths
@ 2026-05-05 21:08 Luiz Augusto von Dentz
  0 siblings, 0 replies; only message in thread
From: Luiz Augusto von Dentz @ 2026-05-05 21:08 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1090123
  Home:   https://github.com/bluez/bluez
  Commit: 7828f7436ad604c278d96e491c24815eb5eba465
      https://github.com/bluez/bluez/commit/7828f7436ad604c278d96e491c24815eb5eba465
  Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M emulator/vhci.c

  Log Message:
  -----------
  emulator/vhci: Add debug messages to error paths

Add debug_callback, debug_destroy and debug_data fields to struct vhci
so vhci_set_debug stores the callback locally in addition to passing it
to btdev. Introduce a variadic vhci_debug() helper using util_debug_va
and add debug messages to the following error paths:

 - vhci_write_callback: failed io_send
 - vhci_read_callback: failed read
 - vhci_debugfs_write: failed open and failed write


  Commit: eeb46df9fd4944f73df1b5bc991582fa94140872
      https://github.com/bluez/bluez/commit/eeb46df9fd4944f73df1b5bc991582fa94140872
  Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M emulator/hciemu.c

  Log Message:
  -----------
  emulator/hciemu: Add debug messages to error paths

Introduce a variadic hciemu_debug() helper using util_debug_va and add
debug messages to the following error paths:

 - create_vhci: failed to open vhci
 - hciemu_client_new: failed to create btdev, bthost, or socketpair


  Commit: 3037ba762200454aada62411a4d4567150ed39a5
      https://github.com/bluez/bluez/commit/3037ba762200454aada62411a4d4567150ed39a5
  Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M tools/gap-tester.c

  Log Message:
  -----------
  tools/gap-tester: Enable hciemu debug output

Add print_debug callback and call hciemu_set_debug when debug output is
enabled so that hciemu error paths are visible during test runs.


  Commit: 5125b3d39fe26a3c5c824fb18bc44a8e05602b37
      https://github.com/bluez/bluez/commit/5125b3d39fe26a3c5c824fb18bc44a8e05602b37
  Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M tools/userchan-tester.c

  Log Message:
  -----------
  tools/userchan-tester: Enable hciemu debug output

Call hciemu_set_debug when debug output is enabled so that hciemu error
paths are visible during test runs.


Compare: https://github.com/bluez/bluez/compare/7828f7436ad6%5E...5125b3d39fe2

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-05 21:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-05 21:08 [bluez/bluez] 7828f7: emulator/vhci: Add debug messages to error paths Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox