Skip to content

Allow perf-map-agent to be loaded at startup#85

Open
prasun3 wants to merge 1 commit into
jvm-profiling-tools:masterfrom
prasun3:master
Open

Allow perf-map-agent to be loaded at startup#85
prasun3 wants to merge 1 commit into
jvm-profiling-tools:masterfrom
prasun3:master

Conversation

@prasun3
Copy link
Copy Markdown

@prasun3 prasun3 commented Nov 9, 2019

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
@curiousleo
Copy link
Copy Markdown

I am unfortunately not qualified to review this code, but being able to load the agent at startup would be very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants