aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spark-common/build.gradle2
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/sampler/async/AsyncProfilerAccess.java3
-rwxr-xr-xspark-common/src/main/resources/libasyncProfiler.sobin309494 -> 314098 bytes
3 files changed, 4 insertions, 1 deletions
diff --git a/spark-common/build.gradle b/spark-common/build.gradle
index 8b64449..7a69e86 100644
--- a/spark-common/build.gradle
+++ b/spark-common/build.gradle
@@ -3,7 +3,7 @@ plugins {
}
dependencies {
- compile 'com.github.jvm-profiling-tools:async-profiler:v2.0-rc'
+ compile 'com.github.jvm-profiling-tools:async-profiler:v2.0'
compile 'org.ow2.asm:asm:7.1'
compile 'com.google.protobuf:protobuf-java:3.14.0'
compile 'com.squareup.okhttp3:okhttp:3.14.1'
diff --git a/spark-common/src/main/java/me/lucko/spark/common/sampler/async/AsyncProfilerAccess.java b/spark-common/src/main/java/me/lucko/spark/common/sampler/async/AsyncProfilerAccess.java
index 3d53903..71ff425 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/sampler/async/AsyncProfilerAccess.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/sampler/async/AsyncProfilerAccess.java
@@ -112,6 +112,9 @@ public final class AsyncProfilerAccess {
}
public boolean isSupported() {
+ if (this.setupException != null) {
+ System.out.println("[spark] async-profiler engine is not supported on your system: " + this.setupException.getMessage());
+ }
return this.profiler != null;
}
}
diff --git a/spark-common/src/main/resources/libasyncProfiler.so b/spark-common/src/main/resources/libasyncProfiler.so
index 421a9be..4153f52 100755
--- a/spark-common/src/main/resources/libasyncProfiler.so
+++ b/spark-common/src/main/resources/libasyncProfiler.so
Binary files differ