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
Use -H:PrintAnalysisCallTreeType=CSV to generate csv call tree files #24268
Conversation
c7d99ed
to
b872464
Compare
Thanks! |
Marked this for backport to 2.7 as the flag is going to land in 21.3.2 as well which 2.7 will be compatible with. |
if (graalVMVersion.isOlderThan(GraalVM.Version.VERSION_21_3_2)) { | ||
nativeImageArgs.add("-H:+PrintAnalysisCallTree"); | ||
} else { | ||
nativeImageArgs.add("-H:PrintAnalysisCallTreeType=CSV"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zakkak can you confirm that having -H:PrintAnalysisCallTreeType=CSV
triggers -H:+PrintAnalysisCallTree
and we don't need to add it explicitly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. It happens here.
@zakkak I think https://quarkus.io/guides/native-reference#call-tree-reports |
Fixes #20733
Marking this as draft till I learn whether the parameter will be backported to 21.3 as well or not.