Tests fix: test_callstack: output of addr2line incorrectly parsed
[lttng-tools.git] / pre-inst-env.in
CommitLineData
77503fc5
OD
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0-only
3#
4# Copyright (c) 2023 Olivier Dion <odion@efficios.com>
5
6srcdir=$(realpath "@abs_top_srcdir@")
7builddir=$(realpath "@abs_top_builddir@")
8bin="$builddir/src/bin"
9
10# lttng-sessiond setup.
11LTTNG_SESSION_CONFIG_XSD_PATH="$srcdir/src/common"
12export LTTNG_SESSION_CONFIG_XSD_PATH
13
14LTTNG_CONSUMERD32_BIN="$bin/lttng-consumerd/lttng-consumerd"
15LTTNG_CONSUMERD64_BIN="$bin/lttng-consumerd/lttng-consumerd"
16export LTTNG_CONSUMERD32_BIN
17export LTTNG_CONSUMERD64_BIN
18
19# lttng-create setup.
20LTTNG_SESSIOND_PATH="$bin/lttng-sessiond/lttng-sessiond"
21export LTTNG_SESSIOND_PATH
22
23# Easy access to binaries.
24PATH="$bin/lttng:$bin/lttng-consumerd:$bin/lttng-crash:$bin/lttng-relayd:$bin/lttng-sessiond:$PATH"
25export PATH
26
27exec "$@"
This page took 0.027814 seconds and 4 git commands to generate.