diff options
author | Yabin Cui <yabinc@google.com> | 2021-06-01 21:13:05 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-06-01 21:13:05 +0000 |
commit | cd86421c8c262e437b607ad37a748a34760cfade (patch) | |
tree | b6d6b2a163c15e74cb2ca6d96cbd1ebf356bb5a5 | |
parent | fc0691cc2c46ec53c035bc227c15ed66a5dbd858 (diff) | |
parent | ae4af41040abe095a2acfd34049ce4f8a1b9318d (diff) | |
download | extras-cd86421c8c262e437b607ad37a748a34760cfade.tar.gz |
Merge "simpleperf: increase record duration" into sc-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 869c747f..350a24f8 100644 --- a/simpleperf/cmd_record_test.cpp +++ b/simpleperf/cmd_record_test.cpp @@ -725,7 +725,7 @@ static void TestRecordingApps(const std::string& app_name, const std::string& ap // 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". |