summaryrefslogtreecommitdiff
path: root/simpleperf/sample_tree_test.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-06-17 21:15:09 -0700
committerYabin Cui <yabinc@google.com>2015-06-18 16:47:02 -0700
commitb032de7a9e1975a838cd6df2e7c8df3c7f70a3ce (patch)
tree08c1d077015624b5488edc7483050f492364c451 /simpleperf/sample_tree_test.cpp
parent1ded5c77b86bf64d121251e70d84fbe7cf19b06c (diff)
downloadextras-b032de7a9e1975a838cd6df2e7c8df3c7f70a3ce.tar.gz
Simpleperf: support monitoring existing processes/threads.
Also change the default record freq from 1000 to 4000. Because 1000 seems to be too low. Bug: 19483574 Change-Id: I340fcb9d28a156862705e483ee340a1c824eea21
Diffstat (limited to 'simpleperf/sample_tree_test.cpp')
-rw-r--r--simpleperf/sample_tree_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/simpleperf/sample_tree_test.cpp b/simpleperf/sample_tree_test.cpp
index 9a2ca0b3..033d3691 100644
--- a/simpleperf/sample_tree_test.cpp
+++ b/simpleperf/sample_tree_test.cpp
@@ -14,10 +14,10 @@
* limitations under the License.
*/
-#include "sample_tree.h"
-
#include <gtest/gtest.h>
+#include "sample_tree.h"
+
struct ExpectedSampleInMap {
int pid;
int tid;