summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2017-06-23 09:44:08 -0700
committerJohn Reck <jreck@google.com>2017-06-23 09:44:08 -0700
commitba54d5baf4265cc5ccf656638bf6c5d9e770592f (patch)
tree612f45d8cb649b7207c8fc970587df0c0d4f0dbc
parentf8ca9a0875685003defb13f1a342bb8bd37cf4e0 (diff)
downloadnative-oreo-dev.tar.gz
Disable setting saved_cmdline_sizeoreo-dev
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
-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);