OSDN Git Service

Fix async_stop
authorJohn Reck <jreck@google.com>
Fri, 15 May 2015 17:00:34 +0000 (10:00 -0700)
committerYasuhiro Matsuda <mazda@google.com>
Mon, 29 Jun 2015 14:16:19 +0000 (23:16 +0900)
Change-Id: I68a258cf71cfcd999bbd568ab3c96255c11bec41
(cherry picked from commit 2c237ee1d5961b9d11618e0c5a97b3bb7fb694b2)

cmds/atrace/atrace.cpp

index 4100fa3..9def406 100644 (file)
@@ -900,7 +900,7 @@ int main(int argc, char **argv)
                     g_traceOverwrite = true;
                 } else if (!strcmp(long_options[option_index].name, "async_stop")) {
                     async = true;
-                    traceStop = false;
+                    traceStart = false;
                 } else if (!strcmp(long_options[option_index].name, "async_dump")) {
                     async = true;
                     traceStart = false;