OSDN Git Service

Temporarily skipping dump of bluetooth logs.
authorFelipe Leme <felipeal@google.com>
Tue, 28 Mar 2017 18:54:20 +0000 (11:54 -0700)
committerFelipe Leme <felipeal@google.com>
Tue, 28 Mar 2017 18:55:02 +0000 (11:55 -0700)
Bug: 35998031
Test: manual verification
Change-Id: I0bdf6eb1546c0850b301441f48753b65fa7b1e5e

cmds/dumpstate/dumpstate.cpp

index f898b90..6a75237 100644 (file)
@@ -980,8 +980,13 @@ static void dumpstate() {
     for_each_tid(show_wchan, "BLOCKED PROCESS WAIT-CHANNELS");
     for_each_pid(show_showtime, "PROCESS TIMES (pid cmd user system iowait+percentage)");
 
-    /* Dump Bluetooth HCI logs */
-    ds.AddDir("/data/misc/bluetooth/logs", true);
+    if (true) {
+        // TODO: temporary disabled because /data/misc/bluetooth/logs/btsnoop_hci.log can be huge
+        MYLOGD("Skipping /data/misc/bluetooth/logs");
+    } else {
+        /* Dump Bluetooth HCI logs */
+        ds.AddDir("/data/misc/bluetooth/logs", true);
+    }
 
     if (!ds.do_early_screenshot_) {
         MYLOGI("taking late screenshot\n");