summaryrefslogtreecommitdiff
path: root/perf.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'perf.hpp')
-rw-r--r--perf.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/perf.hpp b/perf.hpp
index b504e74..3b202ef 100644
--- a/perf.hpp
+++ b/perf.hpp
@@ -25,6 +25,8 @@
#ifndef LIBPERF_HPP
#define LIBPERF_HPP
+#include "pmc.hpp"
+
#include <asm/unistd.h>
#include <asm/unistd_64.h>
#include <linux/perf_event.h>
@@ -72,12 +74,6 @@ static inline void read(int fd, T& buf) {
class perf_group {
public:
- struct pmc_desc {
- const char* name;
- uint64_t type;
- uint64_t config;
- };
-
enum mode : bool {
RUN_SINGLE = false,
RUN_GROUP = true,