OSDN Git Service

Fixed typo.
authorFelipe Leme <felipeal@google.com>
Mon, 21 Mar 2016 22:44:52 +0000 (15:44 -0700)
committerFelipe Leme <felipeal@google.com>
Mon, 21 Mar 2016 22:48:31 +0000 (15:48 -0700)
BUG: 27419521

Change-Id: Ie9f0b24876353e532f4ebe2ff4935938c3c7a781

cmds/dumpstate/dumpstate.cpp

index 5119061..356b68f 100644 (file)
@@ -184,8 +184,8 @@ static void dump_systrace() {
     }
 
     DurationReporter duration_reporter("SYSTRACE", nullptr);
-    // systrace output can be many MBs, so we need to redirect its stdout straigh to the zip file by
-    // forking and using a pipe.
+    // systrace output can be many MBs, so we need to redirect its stdout straight to the zip file
+    // by forking and using a pipe.
     int pipefd[2];
     pipe(pipefd);
     if (fork() == 0) {
@@ -1253,7 +1253,6 @@ int main(int argc, char *argv[]) {
     run_command_as_shell("DUMPSYS MEMINFO", 30, "dumpsys", "meminfo", "-a", NULL);
     run_command_as_shell("DUMPSYS CPUINFO", 30, "dumpsys", "cpuinfo", "-a", NULL);
 
-
     /* collect stack traces from Dalvik and native processes (needs root) */
     dump_traces_path = dump_traces();