Function lttngpy::get_lttng_context_type
Defined in File context_lttng.hpp
Function Documentation
-
std::optional<enum lttng_event_context_type> lttngpy::get_lttng_context_type(const std::string <tng_context_field_name)
Get LTTng context type from name.
- Returns:
the context type, or
std::nullopt
on failure (if the name isn’t known)