cs-etm: associating output packet with CPU they executed on
[firefly-linux-kernel-4.4.55.git] / tools / perf / util / cs-etm.h
index 7b683a02469070aeb75182c5dcb547493553a456..ec6ff78f1905f7ff32905e3a44c516174700b2b6 100644 (file)
 #ifndef INCLUDE__UTIL_PERF_CS_ETM_H__
 #define INCLUDE__UTIL_PERF_CS_ETM_H__
 
+#include "util/event.h"
+#include "util/intlist.h"
+#include "util/session.h"
+
 /* Versionning header in case things need tro change in the future.  That way
  * decoding of old snapshot is still possible.
  */
@@ -61,6 +65,9 @@ enum {
        CS_ETMV4_PRIV_MAX,
 };
 
+/* RB tree for quick conversion between traceID and CPUs */
+struct intlist *traceid_list;
+
 #define KiB(x) ((x) * 1024)
 #define MiB(x) ((x) * 1024 * 1024)