perf symbols: Move mem_info and branch_info out of symbol.h
[linux-2.6-block.git] / tools / perf / util / mem-events.h
index a889ec2fa9f537206f0d4bc33ca4d8bc15ed8685..f1389bdae7bfc31d2a09c213257f37cd7c34bf34 100644 (file)
@@ -6,6 +6,8 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <linux/types.h>
+#include <linux/refcount.h>
+#include <linux/perf_event.h>
 #include "stat.h"
 
 struct perf_mem_event {
@@ -16,6 +18,13 @@ struct perf_mem_event {
        const char      *sysfs_name;
 };
 
+struct mem_info {
+       struct addr_map_symbol  iaddr;
+       struct addr_map_symbol  daddr;
+       union perf_mem_data_src data_src;
+       refcount_t              refcnt;
+};
+
 enum {
        PERF_MEM_EVENTS__LOAD,
        PERF_MEM_EVENTS__STORE,