Hi Erik,
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, that's a good news for openEuler.
For backporting patches for 20.03 LTS, please based on openeuler/kernel project, kernel-4.19 branch. We'll pick them to 20.03 LTS maintenance branches.
https://gitee.com/openeuler/kernel
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 submit PR. The project url: https://gitee.com/src-openeuler/kernel the master branch is prepared for 21.03.
Additional, if there are patches to be backported to 5.10, please use openeuler/kernel OLK-5.10 branch as base.
- Is there rolling release of openEuler like Tumbleweed? Then we can run some tests with the daily ISO before the stable 21.03
Yes, mainline daily ISO is available at: http://121.36.84.172/dailybuild/openEuler-Mainline
It it NOT the official release, just for testing, no quality assurance.
And one more question, has version 21.03 created a build project in openEuler OBS?? Is it this one? https://build.openeuler.org/package/show/openEuler:Mainline/kernel
The 21.03 branch is not available yet. 21.03 branch will be available in next month, fork from the master branch. The url above is for the master branch.
Thanks, Erik