OSDN Git Service

Fix kernel panic when boot up
[android-x86/system-extras.git] / simpleperf / cpu_hotplug_test.cpp
index 68d4ea7..61cbc80 100644 (file)
@@ -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();
+}