1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __JVMTI_AGENT_H__
3 #define __JVMTI_AGENT_H__
9 #if defined(__cplusplus)
16 int discrim; /* discriminator -- 0 for now */
19 void *jvmti_open(void);
20 int jvmti_close(void *agent);
21 int jvmti_write_code(void *agent, char const *symbol_name,
22 uint64_t vma, void const *code,
23 const unsigned int code_size);
25 int jvmti_write_debug_info(void *agent,
28 jvmti_line_info_t *li,
31 #if defined(__cplusplus)
35 #endif /* __JVMTI_H__ */