summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2017-06-23 09:44:08 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-06-23 20:51:40 +0000
commitb5d1e187cf4a178173a01b93330bcfc262283f7c (patch)
tree612f45d8cb649b7207c8fc970587df0c0d4f0dbc
parent05b755652ab5525cec8be5a3f9876384c2f83269 (diff)
downloadnative-b5d1e187cf4a178173a01b93330bcfc262283f7c.tar.gz
Disable setting saved_cmdline_size
Minimal revert of the addition of increasing the saved_cmdline_size. This change exposed kernel bugs that prevented atrace from working. Bug: 62375794 Test: manual Change-Id: Ie946b9246ce9ba22af59dbf0b9fe8a59a5fa1f3f (cherry picked from commit ba54d5baf4265cc5ccf656638bf6c5d9e770592f)
-rw-r--r--cmds/atrace/atrace.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp
index 8758516a4d..47e04e755e 100644
--- a/cmds/atrace/atrace.cpp
+++ b/cmds/atrace/atrace.cpp
@@ -770,7 +770,8 @@ static bool setUpTrace()
ok &= setCategoriesEnableFromFile(g_categoriesFile);
ok &= setTraceOverwriteEnable(g_traceOverwrite);
ok &= setTraceBufferSizeKB(g_traceBufferSizeKB);
- ok &= setCmdlineSize();
+ // TODO: Re-enable after stabilization
+ //ok &= setCmdlineSize();
ok &= setClock();
ok &= setPrintTgidEnableIfPresent(true);
ok &= setKernelTraceFuncs(g_kernelTraceFuncs);