Upgrade async-profiler to 1.7 and support arm arch. close #1089

This commit is contained in:
hengyunabc
2020-04-02 15:27:48 +08:00
parent 298d56a829
commit 863c7ef6b5
5 changed files with 84 additions and 0 deletions
@@ -101,6 +101,9 @@ public class ProfilerCommand extends AnnotatedCommand {
}
if (OSUtils.isLinux()) {
profierSoPath = "async-profiler/libasyncProfiler-linux-x64.so";
if (OSUtils.isArm()) {
profierSoPath = "async-profiler/libasyncProfiler-linux-arm.so";
}
}
if (profierSoPath != null) {