summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2021-06-01 21:40:30 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-06-01 21:40:30 +0000
commit9e11aef91a2b224ad16a60e81b1f9324a42fbc05 (patch)
treeb6d6b2a163c15e74cb2ca6d96cbd1ebf356bb5a5
parent0f6ccc2517d29e58d6b7cec2e8f42daa313348a7 (diff)
parentcd86421c8c262e437b607ad37a748a34760cfade (diff)
downloadextras-9e11aef91a2b224ad16a60e81b1f9324a42fbc05.tar.gz
Merge "simpleperf: increase record duration" into sc-dev am: cd86421c8c
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14791360 Change-Id: I16241aac8cf5fa4b0958016cc9c639c6c82694ec
-rw-r--r--simpleperf/cmd_record_test.cpp2
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".