aboutsummaryrefslogtreecommitdiff
path: root/kernel-headers/linux/mmprofile_static_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel-headers/linux/mmprofile_static_event.h')
-rw-r--r--kernel-headers/linux/mmprofile_static_event.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/kernel-headers/linux/mmprofile_static_event.h b/kernel-headers/linux/mmprofile_static_event.h
new file mode 100644
index 0000000..6744bfa
--- /dev/null
+++ b/kernel-headers/linux/mmprofile_static_event.h
@@ -0,0 +1,31 @@
+#ifndef __MMPROFILE_STATIC_EVENT_H__
+#define __MMPROFILE_STATIC_EVENT_H__
+
+
+typedef enum
+{
+ MMP_InvalidEvent = 0,
+ MMP_RootEvent = 1,
+ // User defined static events begin
+ MMP_TouchPanelEvent,
+ // User defined static events end.
+ MMP_MaxStaticEvent
+} MMP_StaticEvents;
+
+#ifdef MMPROFILE_INTERNAL
+typedef struct
+{
+ MMP_StaticEvents event;
+ char* name;
+ MMP_StaticEvents parent;
+} MMP_StaticEvent_t;
+
+static MMP_StaticEvent_t MMProfileStaticEvents[] =
+{
+ {MMP_RootEvent, "Root_Event", MMP_InvalidEvent},
+ {MMP_TouchPanelEvent, "TouchPanel_Event", MMP_RootEvent},
+};
+
+#endif
+
+#endif