]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - tools/perf/util/top.h
perf tools: Rename perf_event_ops to perf_tool
[mv-sheeva.git] / tools / perf / util / top.h
index 44eda6fc6b33e32152b6bbd99b673fabd7d587c8..40430ec5c2674b87eb34f8bc2142e087443f0ae5 100644 (file)
@@ -1,16 +1,17 @@
 #ifndef __PERF_TOP_H
 #define __PERF_TOP_H 1
 
+#include "tool.h"
 #include "types.h"
-#include "session.h"
-#include "../perf.h"
 #include <stddef.h>
+#include <stdbool.h>
 
 struct perf_evlist;
 struct perf_evsel;
+struct perf_session;
 
 struct perf_top {
-       struct perf_event_ops ops;
+       struct perf_tool   tool;
        struct perf_evlist *evlist;
        /*
         * Symbols will be added here in perf_event__process_sample and will