Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

prasun3
Copy link

@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

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