diff options
Diffstat (limited to 'perf.hpp')
-rw-r--r-- | perf.hpp | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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, |