+ private String getUstAppPath() {
+ String ustAppPath = System.getenv("LTTNG_UST_APP_PATH");
+ if (ustAppPath != null) {
+ String[] paths = ustAppPath.split(":");
+ if (paths.length > 1) {
+ log("':' separator in LTTNG_UST_APP_PATH, only the first path will be used");
+ }
+ return paths[0];
+ }
+ return ustAppPath;