OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix kernel panic when boot up
[android-x86/system-extras.git]
/
simpleperf
/
cpu_hotplug_test.cpp
diff --git
a/simpleperf/cpu_hotplug_test.cpp
b/simpleperf/cpu_hotplug_test.cpp
index
68d4ea7
..
61cbc80
100644
(file)
--- a/
simpleperf/cpu_hotplug_test.cpp
+++ b/
simpleperf/cpu_hotplug_test.cpp
@@
-252,3
+252,9
@@
TEST(cpu_offline, offline_while_recording_on_another_cpu) {
ASSERT_TRUE(event_fd != nullptr);
}
}
+
+int main(int argc, char** argv) {
+ InitLogging(argv, android::base::StderrLogger);
+ testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}