lttng: Add list_sessions utility
authorOlivier Dion <odion@efficios.com>
Mon, 6 Feb 2023 20:55:39 +0000 (15:55 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 21 Apr 2023 15:47:48 +0000 (11:47 -0400)
commitca938aa52e0d841fc638ecffb4261a80d846831f
tree5779ce1422a4235c305f9ae3ce98adf0a222629f
parent7a96a40be44ee53ee525b80d0eaf4233a07a56a5
lttng: Add list_sessions utility

Get a list of sessions given a session specification.

The `NAME' specification returns the session that has the given
name. The `GLOB_PATTERN' specification returns all sessions that match a
pattern. The `ALL' specification returns all sessions.

Change-Id: If69698d6dd59d54ba16669571ef49ed5bb9b8997
Signed-off-by: Olivier Dion <odion@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/utils.cpp
src/bin/lttng/utils.hpp
This page took 0.025432 seconds and 4 git commands to generate.