tests: make lttng_live_server.py print session URLs
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 18 Sep 2023 18:18:54 +0000 (14:18 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 20 Oct 2023 23:29:14 +0000 (19:29 -0400)
commit2439d12bc9f08af6e5c6ab71556e50b824c3dca6
treecb0c6682b86b4664471110453a019b509c4526b4
parent4b8b3b25c442df3ac0074e75ea0cd84ae915dfbe
tests: make lttng_live_server.py print session URLs

To help with interactive use, make lttng_live_server.py print session
URLs that you can pass directly to babeltrace.

For instance:

    $ PYTHONPATH=/home/smarchi/src/babeltrace/tests/utils/python /opt/python/3.4.10/bin/python3 lttng_live_server.py --trace-path-prefix /home/smarchi/src/babeltrace/tests/data/ctf-traces  split_metadata.json --port 1245
    Listening on port 1245
    net://localhost:1245/host/hostname/split_metadata

Change-Id: Ib4d806804bfdc00132ec7987c62016ad976b50d2
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10900
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
tests/data/plugins/src.ctf.lttng-live/lttng_live_server.py
This page took 0.026189 seconds and 4 git commands to generate.