Implemented Agent_OnLoad so that the agent may be loaded at startup.
Previously the agent could only be attached at runtime.
The agent may be loaded using the following cmd line syntax:
perf record java -XX:+PreserveFramePointer -agentpath:/path/to/perf-map-agent/out/libperfmap.so app args
Implemented Agent_OnLoad so that the agent may be loaded at startup. Previously the agent could only be attached at runtime.
The agent may be loaded using the following cmd line syntax: perf record java -XX:+PreserveFramePointer -agentpath:/path/to/perf-map-agent/out/libperfmap.so app args