diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-06-02 17:43:52 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-06-02 17:43:52 +0000 |
commit | 26d94ee676a285179ed0a9e27d0ca619bbcc5b6d (patch) | |
tree | 010c98bc2d163b0600ece6eeed6c57e9f5e3f506 | |
parent | ce9f7a6ae9a692c418915e7cf6ab0362b1f67c20 (diff) | |
parent | 5c1ac9914a180a654680c24892ccc7f66ed14e98 (diff) | |
download | extras-26d94ee676a285179ed0a9e27d0ca619bbcc5b6d.tar.gz |
Merge "simpleperf: increase record duration" into android11-tests-dev
-rw-r--r-- | simpleperf/cmd_record_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/cmd_record_test.cpp b/simpleperf/cmd_record_test.cpp index fdb6f5e3..50730e22 100644 --- a/simpleperf/cmd_record_test.cpp +++ b/simpleperf/cmd_record_test.cpp @@ -806,7 +806,7 @@ static void TestRecordingApps(const std::string& app_name) { // Bring the app to foreground to avoid no samples. ASSERT_TRUE(helper.StartApp("am start " + app_name + "/.MainActivity")); - ASSERT_TRUE(helper.RecordData("--app " + app_name + " -g --duration 3 -e " + GetDefaultEvent())); + ASSERT_TRUE(helper.RecordData("--app " + app_name + " -g --duration 10 -e " + GetDefaultEvent())); // Check if we can profile Java code by looking for a Java method name in dumped symbols, which // is app_name + ".MainActivity$1.run". |