Skip to content

RFC Print bluetoothd messages in btmon

Vinicius Costa Gomes linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2monitor: Add stubs for monitoring bluetoothd's journal entriesMakefile.tools configure.ac monitor/journal.c +2 more+78 -20 replies
2/2monitor: Add support for printing bluetoothd messagesmonitor/journal.c+94 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC BlueZ 0/2] Print bluetoothd messages in btmon

Hi,

It is very common when debugging issues, specially users' problems to ask for btmon logs and the accompaining bluetoothd logs. And depending on the issue, it takes some time to relate the HCI/MGMT commands to bluetoothd messages that help narrow down the problem.

This is just a proof of concept, to know if this will be generally helpful. And so, it needs some improvements: sending bluetoothd the USR2 signal so debug is enabled, color support and better formatting.

Cheers,

Vinicius Costa Gomes (2):
monitor: Add stubs for monitoring bluetoothd's journal entries
monitor: Add support for printing bluetoothd messages

 Makefile.tools    |   3 +-
 configure.ac      |   7 +++
 monitor/journal.c | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 monitor/journal.h |  24 +++++++++++
 monitor/main.c    |  13 +++++-
 5 files changed, 171 insertions(+), 2 deletions(-)
 create mode 100644 monitor/journal.c
 create mode 100644 monitor/journal.h

--
1.8.5.3