diff options
author | Andre Eisenbach <eisenbach@google.com> | 2014-09-17 16:40:53 -0700 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2014-09-17 16:44:59 -0700 |
commit | 311e88dd46311534c6fd1a25ec9c5c1da6d55ded (patch) | |
tree | edb28dd505506ca2687705a875d66c408740d72c /conf | |
parent | 24adb37e4106bf8544c7729d34451fdf2777c4dc (diff) | |
download | android_system_bt-311e88dd46311534c6fd1a25ec9c5c1da6d55ded.tar.gz android_system_bt-311e88dd46311534c6fd1a25ec9c5c1da6d55ded.tar.bz2 android_system_bt-311e88dd46311534c6fd1a25ec9c5c1da6d55ded.zip |
Add ability to preserve existing snoop log
Currently a stack restart or device reboot will overwrite existing snoop
logs when the stack restarts. This patch adds a new configuration file
parameter "BtSnoopSaveLog" that, if enabled, will cause an existing
snoop log to be renamed to "<snoop_file_name>.last" before a new snoop
log is created.
This will allow for easier debugging of crashes that involve a reboot or
stack restart.
Change-Id: I4f56204d31a6bf2e96058938e8616eb6dee7360b
Diffstat (limited to 'conf')
-rw-r--r-- | conf/bt_stack.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/bt_stack.conf b/conf/bt_stack.conf index 2ca20ea89..711fe519b 100644 --- a/conf/bt_stack.conf +++ b/conf/bt_stack.conf @@ -5,6 +5,9 @@ BtSnoopLogOutput=false # BtSnoop log output file BtSnoopFileName=/sdcard/btsnoop_hci.log +# Preserve existing BtSnoop log before overwriting +BtSnoopSaveLog=false + # Enable trace level reconfiguration function # Must be present before any TRC_ trace level settings TraceConf=true |