summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-05-15 10:00:34 -0700
committerYasuhiro Matsuda <mazda@google.com>2015-06-29 23:16:19 +0900
commit4ba2b63bff492815a86954c272a36d886f5bccec (patch)
treea420a4a7b764524300b4a560400be3ee8a1455ee
parent2ab05fc551f8ee8442b05484cce0350c1b523678 (diff)
downloadframeworks_native-4ba2b63bff492815a86954c272a36d886f5bccec.zip
frameworks_native-4ba2b63bff492815a86954c272a36d886f5bccec.tar.gz
frameworks_native-4ba2b63bff492815a86954c272a36d886f5bccec.tar.bz2
Fix async_stop
Change-Id: I68a258cf71cfcd999bbd568ab3c96255c11bec41 (cherry picked from commit 2c237ee1d5961b9d11618e0c5a97b3bb7fb694b2)
-rw-r--r--cmds/atrace/atrace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp
index 4100fa3..9def406 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -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;