Function lttngpy::get_session_names
Defined in File session.hpp
Function Documentation
-
std::variant<int, std::set<std::string>> lttngpy::get_session_names(bool snapshot_mode = false)
Get the currently-existing session names.
- Parameters:
snapshot_mode – If true, only snapshot session names are returned
- Returns:
the set of session names, else a negative LTTng error code