X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fdemo%2Fdemo-trace;h=d7c86267c3c1aee9c3dae3c310b4af2a8ef6fbdd;hb=53f7d0d7404de911dd62dff06f08539e33ea7519;hp=dd677277b7a4c6a248b3d94671bf834e963490c4;hpb=60302adc32827b3b62028018588f0d7bebb6c5d2;p=lttng-ust.git diff --git a/doc/examples/demo/demo-trace b/doc/examples/demo/demo-trace index dd677277..d7c86267 100755 --- a/doc/examples/demo/demo-trace +++ b/doc/examples/demo/demo-trace @@ -1,6 +1,10 @@ #!/bin/sh -DIR=$(dirname $0) -DIR=$(readlink -f $DIR) +# SPDX-FileCopyrightText: 2023 EfficiOS, Inc +# +# SPDX-License-Identifier: MIT -LD_PRELOAD=$DIR/lttng-ust-provider-ust-tests-demo.so:$DIR/lttng-ust-provider-ust-tests-demo3.so $DIR/demo ${*} +DIR=$(dirname "$0") +DIR=$(readlink -f "$DIR") + +LD_PRELOAD="$DIR/lttng-ust-provider-ust-tests-demo.so:$DIR/lttng-ust-provider-ust-tests-demo3.so" "$DIR/demo" "${@}"