OSDN Git Service

Limit btsnoop file size (5/9)
authorAjay Panicker <apanicke@google.com>
Tue, 18 Apr 2017 03:53:24 +0000 (20:53 -0700)
committerAjay Panicker <apanicke@google.com>
Thu, 27 Apr 2017 20:58:16 +0000 (13:58 -0700)
commit21ae30a6e5512cc454aec823efbf445ed5e1e238
tree86a7c4b85ebe224bd76b4408b87f80130e5884b5
parenteaa42774f393eb3ccaee91a958e8df6a8fb09b91
Limit btsnoop file size (5/9)

Limit btsnoop file size by rotating between snoop files. The rotation occurrs
when a fixed number of packets have been logged and will start overwriting
the older file.

Bug: 35998031
Test: Enable snoop logs from developer options and let logs get large
Merged-In: Ia8741223cb31b2c20d9ef5607e9204cc3946b165
Change-Id: Ia8741223cb31b2c20d9ef5607e9204cc3946b165
btif/src/bluetooth.cc
conf/bt_stack.conf
hci/include/btsnoop.h
hci/src/btsnoop.cc
include/stack_config.h
main/stack_config.cc
service/hal/fake_bluetooth_interface.cc