OSDN Git Service

simpleperf: support building cts test.
[android-x86/system-extras.git] / simpleperf / event_selection_set.h
index fed3c0b..cba9dc6 100644 (file)
@@ -22,7 +22,7 @@
 #include <map>
 #include <vector>
 
-#include <base/macros.h>
+#include <android-base/macros.h>
 
 #include "event_fd.h"
 #include "event_type.h"
@@ -70,7 +70,6 @@ class EventSelectionSet {
 
   bool OpenEventFilesForCpus(const std::vector<int>& cpus);
   bool OpenEventFilesForThreadsOnCpus(const std::vector<pid_t>& threads, std::vector<int> cpus);
-  bool EnableEvents();
   bool ReadCounters(std::vector<CountersInfo>* counters);
   void PreparePollForEventFiles(std::vector<pollfd>* pollfds);
   bool MmapEventFiles(size_t mmap_pages);