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

Perf map select #510

Merged
merged 3 commits into from
Sep 28, 2023
Merged

Perf map select #510

merged 3 commits into from
Sep 28, 2023

Conversation

lievenhey
Copy link
Contributor

@lievenhey lievenhey commented Sep 21, 2023

fixes: #498
requires: KDAB/perfparser#27

This allows the user to save the perfmap file elsewhere and still load
it. This is useful if the user wants to reuse that file after a reboot.
@lievenhey
Copy link
Contributor Author

tested with perf record --call-graph=dwarf java -XX:+PreserveFramePointer -XX:+UnlockDiagnosticVMOptions -XX:+DumpPerfMapAtExit CryptoBench.java and CryptoBench.java from https://bell-sw.com/announcements/2022/04/07/how-to-use-perf-to-monitor-java-performance/

src/parsers/perf/perfparser.cpp Outdated Show resolved Hide resolved
These files are in /tmp and will not survive a reboot. This patch warns
the user about this and recommends some actions to keep the data.
@milianw milianw merged commit 57f241e into master Sep 28, 2023
23 checks passed
@milianw milianw deleted the perf-map-select branch September 28, 2023 07:39
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.

Does hotspot support symbol map files?
2 participants