]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add support for controller specific logging
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 8 Nov 2015 06:47:13 +0000 (07:47 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 19 Nov 2015 16:50:28 +0000 (17:50 +0100)
commitd1314551bb60fa5f37a7035eb8a83a381efe9b12
tree81d9f03156011f5be7f314537d1ae4bde1e38762
parent5056b3c7313088c1c72d8f93fb4a127cbc85b501
Bluetooth: Add support for controller specific logging

To enable controller specific logging, the userspace daemon has to have
the ability to log per controller. To facilitate this support, provide
a dedicated logging channel. Messages in this channel will be included
in the monitor queue and with that also forwarded to monitoring tools
along with the actual hardware traces.

All messages from the logging channel are timestamped and with that
allow an easy correlation between userspace messages and hardware
events. This will increase the ability to debug problems faster.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_mon.h
include/net/bluetooth/hci_sock.h
net/bluetooth/hci_sock.c