aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mmprofile_static_event.h
blob: c0a0c7df0c5b1dd77cf72ea3ff260e978d4fc65c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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