Commit 8617be71 authored by Lubomir Bulej's avatar Lubomir Bulej

disl-agent: changed prefix of error message in common.h.

disl-agent: removed dislagent.h, because it is not needed for anything.
disl-agent: provide thread names and ids during runtime logging where possible.
disl-agent: register also for VM_START event to track the state of the VM.
disl-agent: close connections in Agent_OnUnload handler instead of VM_DEATH callback.
parent ea6c5333
......@@ -87,7 +87,7 @@ int find_value_index (const char * strval, const char * values [], int nvals);
#define ERROR_STD 10002
#define ERROR_JVMTI 10003
#define ERROR_PREFIX "DiSL-agent error: "
#define ERROR_PREFIX "disl-agent: error: "
//
......
This diff is collapsed.
#ifndef _DISLAGENT_H
#define _DISLAGENT_H
#include <jvmti.h>
#ifdef __cplusplus
extern "C" {
#endif
JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *jvm, char *options, void *reserved);
#ifdef __cplusplus
}
#endif
#endif /* _DISLAGENT_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment