public void init() {
        File dist = new File(analyzeResultDist);
        if (!dist.exists()) {
            dist.mkdirs();
            return;
        }

        if (dist.isFile()) {
            throw new IllegalArgumentException(analyzeResultDist + " must be a directory");
        }
    }
initialize config, such as check dist path
oap-server/server-tools/profile-exporter/tool-profile-snapshot-bootstrap/src/main/java/org/apache/skywalking/oap/server/tool/profile/exporter/ExporterConfig.java