Hi Erik,
Very glad to see the contributions for openEuler Kernel, thank you very much!
On 2021/1/23 11:46, Erik Yuan wrote:
Hi,
In Linux 5.8, Nick submitted a patch-set to fix some Errors in symbol search when you try to profile JIT compiled application in OpenJDK with perf. The patchset is:
1e4bd2ae4564 perf jit: Fix inaccurate DWARF line table 7d7e503cac31 perf jvmti: Remove redundant jitdump line table entries 0bdf31811be0 perf jvmti: Fix demangling Java symbols 525c821de0a6 perf tests: Add test for the java demangler 959f8ed4c1a8 perf jvmti: Do not report error when missing debug information 953e92402a52 perf jvmti: Fix jitdump for methods without debug info
Because making perf work is very useful for performance analysis on JITed Java application, I'd like to support this patchset in openEuler release. The coming 21.03 should be a first target as that release is upgraded with 5.8+ kernel. Probably we can backport this patchset to 20.03 LTS if needed.
Great to see those patches for 20.03 if you can backport for those stable kernels, and it will bring the benefits for ARM users in about one month (month regular update release for 20.03 stable) :)
To introduce the fix to 21.03, the kernel.spec should be changed with some lines to generate the JVMTI shared library. There are some things I am not sure:
- kernel.spec is in src-openeuler project, do I submit the change by PR or by sending patch directly to the mailing list?
Please send the patches to mailing list as Linux kernel community :)
Thanks Hanjun