diff options
Diffstat (limited to 'spark-common/src')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/sampler/async/AsyncProfilerAccess.java | 3 | ||||
-rwxr-xr-x | spark-common/src/main/resources/libasyncProfiler.so | bin | 309494 -> 314098 bytes |
2 files changed, 3 insertions, 0 deletions
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 Binary files differindex 421a9be..4153f52 100755 --- a/spark-common/src/main/resources/libasyncProfiler.so +++ b/spark-common/src/main/resources/libasyncProfiler.so |