GitLab will be upgraded on 30 Jan 2023 from 2.00 pm (AEDT) to 3.00 pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

dacapoagent.h 392 Bytes
Newer Older
john's avatar
john committed
1
2
#ifndef DACAPO_AGENT_H
#define DACAPO_AGENT_H
3

john's avatar
john committed
4
#include "dacapo.h"
5
6
7
8
9
10

/* Agent library externals to export. */

JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *vm, char *options, void *reserved);
JNIEXPORT void JNICALL Agent_OnUnload(JavaVM *vm);

john's avatar
john committed
11
12
void JNICALL callbackClassPrepare(jvmtiEnv *jvmti_env, JNIEnv* jni_env, jthread thread, jclass klass);

john's avatar
john committed
13
14
void setLogState(jboolean logState);

15
16
#endif