diff options
author | Luck <git@lucko.me> | 2021-03-16 11:04:59 +0000 |
---|---|---|
committer | Luck <git@lucko.me> | 2021-03-16 11:04:59 +0000 |
commit | 2818b9e3ac70e7bcfc10d0c2a3da1b88a96c783e (patch) | |
tree | cb6e6bef65d369139228e71d66f3d49e317af509 /spark-common/src/main/java/me | |
parent | bf46c71550e7adb970be3a18b2cc2d8b06e02a4c (diff) | |
download | spark-2818b9e3ac70e7bcfc10d0c2a3da1b88a96c783e.tar.gz spark-2818b9e3ac70e7bcfc10d0c2a3da1b88a96c783e.tar.bz2 spark-2818b9e3ac70e7bcfc10d0c2a3da1b88a96c783e.zip |
Update async-profiler to 2.0
Diffstat (limited to 'spark-common/src/main/java/me')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/sampler/async/AsyncProfilerAccess.java | 3 |
1 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; } } |