private String getProfilerScriptPath() {
    Path defaultPath = Paths.get(asyncProfilerHome + "/bin/asprof");
    return Files.exists(defaultPath)? defaultPath.toString() : asyncProfilerHome + "/profiler.sh";
  }
Get the path of the profiler script to be executed.
Before async-profiler 3.0, the script was named profiler.sh, and after 3.0 it's bin/asprof
@return
common/src/java/org/apache/hive/http/ProfileServlet.java