~lttng/lttng-ust/lttng-ust

  • Committer: Mathieu Desnoyers
  • Author(s): Jonathan Rajotte
  • Date: 2023-10-19 17:25:15 UTC
  • Revision ID: git-v1:90d125c709f566f3663bf84677f100134cc618e0
Add support for LTTNG_UST_HOME

Namespacing the LTTNG_HOME env variable facilitates the work carried to
have a way to trace the tracer (lttng-sessiond). This also fits with
the work done lately to namespace lttng-ust.

The LTTNG_HOME environment variable is used by lttng-sessiond to setup
the whole tracing environment for the application to be traced. When
lttng-ust is loaded by the lttng-sessiond to be traced, the fact that it
reuse the `LTTNG_HOME` set for the lttng-sessiond prevent us from
specifying an external lttng-sessiond home.

Albeit it could be possible for the lttng-sessiond to "trace" itself
(self tracing), it make more sense, in our testing environment, to have
a supplementary lttng-sessiond handling the tracing of the
lttng-sessiond under testing.

Note that some work will be carried to limit the use of LTTNG_HOME to
setup the tracing environment by lttng-sessiond and liblttng-ctl APIs
but it will be a long effort. Providing `LTTNG_UST_HOME` allows us to
start dogfooding today.

`LTTNG_HOME` is still used as a fallback to `LTTNG_UST_HOME` to preserve
backward compatibility.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I6aed21fd70d1b79b6768d237f59cc80612938d65
Filename Latest Rev Last Changed Committer Comment Size
..
doc 1169 13 years ago Mathieu Desnoyers Install easy-ust and gen-tp examples in doc/ Sign Diff
extras 2931 3 years ago Mathieu Desnoyers Add serialized ABI definition files This commit c Diff
include 243 15 years ago Pierre-Marc Fournier Merge branch 'for-pierre-marc' of git://git.infrad Diff
LICENSES 2538 4 years ago Mathieu Desnoyers Move to kernel style SPDX license identifiers The Diff
m4 2215 7 years ago Mathieu Desnoyers Move m4 scripts to m4 dir Harmonize build system Diff
src 2755 3 years ago Mathieu Desnoyers Move all sources to 'src/' This will align the so Diff
tests 117 15 years ago Pierre-Marc Fournier reorganize test programs into tests/ directory Diff
tools 1168 13 years ago Mathieu Desnoyers Create the lttng-gen-tp tools as an helper to gene Diff
.classpath 2960 3 years ago Mathieu Desnoyers Add basic Eclipse setup for log4j Change-Id: I2f4 2.3 KB Diff Download File
.gitignore 2991 2 years ago Mathieu Desnoyers Add more unit tests for possible_cpus_array_len C 7.3 KB Diff Download File
.gitreview 2351 5 years ago Mathieu Desnoyers Add git-review config Add .gitreview for contribu 123 bytes Diff Download File
.project 2960 3 years ago Mathieu Desnoyers Add basic Eclipse setup for log4j Change-Id: I2f4 368 bytes Diff Download File
File bootstrap 2538 4 years ago Mathieu Desnoyers Move to kernel style SPDX license identifiers The 133 bytes Diff Download File
ChangeLog 2903 3 years ago Mathieu Desnoyers Version 2.13.0-rc1 Signed-off-by: Mathieu Desnoye 85 KB Diff Download File
CodingStyle 2298 5 years ago Mathieu Desnoyers doc: remove repeated word in coding style Signed- 304 bytes Diff Download File
configure.ac 3019 1 year ago Mathieu Desnoyers fix: python agent: use stdlib distutils when setup 25 KB Diff Download File
CONTRIBUTING.md 2310 5 years ago Mathieu Desnoyers Fix: Update coding style link The documentation a 4.9 KB Diff Download File
LICENSE 2769 3 years ago Mathieu Desnoyers Move liblttng-ust-ctl to 'src/lib/' Move all publ 1.8 KB Diff Download File
Makefile.am 2931 3 years ago Mathieu Desnoyers Add serialized ABI definition files This commit c 445 bytes Diff Download File
README.md 3028 1 year ago Mathieu Desnoyers Add support for LTTNG_UST_HOME Namespacing the LT 8.9 KB Diff Download File