Skip to content

Perf map select#510

Merged
milianw merged 3 commits intomasterfrom
perf-map-select
Sep 28, 2023
Merged

Perf map select#510
milianw merged 3 commits intomasterfrom
perf-map-select

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/

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
@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