diff options
| author | Meizu OpenSource <patchwork@meizu.com> | 2016-08-15 10:19:42 +0800 |
|---|---|---|
| committer | Meizu OpenSource <patchwork@meizu.com> | 2016-08-15 10:19:42 +0800 |
| commit | d2e1446d81725c351dc73a03b397ce043fb18452 (patch) | |
| tree | 4dbc616b7f92aea39cd697a9084205ddb805e344 /include/linux/mmprofile_static_event.h | |
first commit
Diffstat (limited to 'include/linux/mmprofile_static_event.h')
| -rw-r--r-- | include/linux/mmprofile_static_event.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/linux/mmprofile_static_event.h b/include/linux/mmprofile_static_event.h new file mode 100644 index 000000000..c0a0c7df0 --- /dev/null +++ b/include/linux/mmprofile_static_event.h @@ -0,0 +1,28 @@ +#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 |
