LLVM: lib/ExecutionEngine/IntelJITProfiling/jitprofiling.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18#ifndef __JITPROFILING_H__

19#define __JITPROFILING_H__

20

21

22

23

24

25

27{

28

29

30

31

32

33

35

36

37

38

39

40

41

43

44

45

46

47

49

50

51

52

53

54

55

57

58

59

60

61

64

66{

67

69

70

71

72

73

74

75

76

78

79

80

81

82

83

84

86

87

88

89

90

92

93

94

95

96

98

100

101

102

104{

105

107

108

109

110

112

113

115

117

118

123

124

125

126

127

128

129

130

131

140

141

142

143

144

145

146

147

159

160

161

162

163

173

175{

176

178

179

180

181

183

184

185

186

188

189

191

192

194

195

197

198

200

201

203

204

206

207

209

210

212

213

215

217

218

219#ifdef __cplusplus

220extern "C" {

221#endif

222

223#ifndef CDECL

224# if defined WIN32 || defined _WIN32

225# define CDECL __cdecl

226# else

227# if defined _M_X64 || defined _M_AMD64 || defined __x86_64__

228# define CDECL

229# else

230# define CDECL __attribute__ ((cdecl))

231# endif

232# endif

233#endif

234

235#define JITAPI CDECL

236

237

239

241

242

245

247

249

251

253

254#ifdef __cplusplus

255}

256#endif

257

258#endif

struct _LineNumberInfo * pLineNumberInfo

int JITAPI iJIT_NotifyEvent(iJIT_JVM_EVENT event_type, void *EventSpecificData)

iJIT_jvm_event

Definition jitprofiling.h:27

@ iJVM_EVENT_TYPE_ENTER_NIDS

Definition jitprofiling.h:56

@ iJVM_EVENT_TYPE_LEAVE_NIDS

Definition jitprofiling.h:62

@ iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED

Definition jitprofiling.h:42

@ iJVM_EVENT_TYPE_METHOD_UNLOAD_START

Definition jitprofiling.h:48

@ iJVM_EVENT_TYPE_SHUTDOWN

Definition jitprofiling.h:34

struct _iJIT_Method_Load * piJIT_Method_Load

_iJIT_ModeFlags

Definition jitprofiling.h:66

@ iJIT_BE_NOTIFY_ON_METHOD_ENTRY

Definition jitprofiling.h:91

@ iJIT_BE_NOTIFY_ON_METHOD_EXIT

Definition jitprofiling.h:97

@ iJIT_BE_NOTIFY_ON_UNLOAD

Definition jitprofiling.h:85

@ iJIT_BE_NOTIFY_ON_LOAD

Definition jitprofiling.h:77

@ iJIT_NO_NOTIFICATIONS

Definition jitprofiling.h:68

unsigned int JITAPI iJIT_GetNewMethodID(void)

void(* iJIT_ModeChangedEx)(void *UserData, iJIT_ModeFlags Flags)

Definition jitprofiling.h:238

_iJIT_IsProfilingActiveFlags

Definition jitprofiling.h:104

@ iJIT_NOTHING_RUNNING

Definition jitprofiling.h:106

@ iJIT_SAMPLING_ON

Definition jitprofiling.h:111

@ iJIT_CALLGRAPH_ON

Definition jitprofiling.h:114

#define JITAPI

Definition jitprofiling.h:235

_iJDEnvironmentType

Definition jitprofiling.h:120

@ iJDE_JittingAPI

Definition jitprofiling.h:121

struct _LineNumberInfo LineNumberInfo

enum _iJIT_ModeFlags iJIT_ModeFlags

struct _iJIT_Method_NIDS iJIT_Method_NIDS

void JITAPI FinalizeProcess(void)

enum _iJDEnvironmentType iJDEnvironmentType

struct _iJIT_Method_Id * piJIT_Method_Id

void JITAPI FinalizeThread(void)

enum iJIT_jvm_event iJIT_JVM_EVENT

struct _iJIT_Method_Load iJIT_Method_Load

enum _iJIT_IsProfilingActiveFlags iJIT_IsProfilingActiveFlags

void JITAPI iJIT_RegisterCallbackEx(void *userdata, iJIT_ModeChangedEx NewModeCallBackFuncEx)

struct _iJIT_Method_NIDS * piJIT_Method_NIDS

iJIT_IsProfilingActiveFlags JITAPI iJIT_IsProfilingActive(void)

struct _iJIT_Method_Id iJIT_Method_Id

Definition jitprofiling.h:165

unsigned int Offset

Definition jitprofiling.h:167

unsigned int LineNumber

Definition jitprofiling.h:170

Definition jitprofiling.h:133

unsigned int method_id

Definition jitprofiling.h:137

Definition jitprofiling.h:175

unsigned int line_number_size

Definition jitprofiling.h:193

iJDEnvironmentType env

Definition jitprofiling.h:214

unsigned int method_id

Definition jitprofiling.h:177

unsigned int class_id

Definition jitprofiling.h:199

char * class_file_name

Definition jitprofiling.h:202

char * method_name

Definition jitprofiling.h:182

pLineNumberInfo line_number_table

Definition jitprofiling.h:196

char * source_file_name

Definition jitprofiling.h:205

unsigned int user_data_size

Definition jitprofiling.h:211

void * user_data

Definition jitprofiling.h:208

unsigned int method_size

Definition jitprofiling.h:190

void * method_load_address

Definition jitprofiling.h:187

Definition jitprofiling.h:149

unsigned int method_id

Definition jitprofiling.h:151

unsigned int stack_id

Definition jitprofiling.h:154

char * method_name

Definition jitprofiling.h:157