Function lttngpy::add_contexts
Defined in File event.hpp
Function Documentation
-
int lttngpy::add_contexts(const std::string &session_name, const enum lttng_domain_type domain_type, const std::string &channel_name, const std::set<std::string> &context_fields)
Add contexts.
- Parameters:
session_name – the session name
domain_type – the domain type
channel_name – the channel name
context_fields – the set of context field names
- Returns:
0 on success, else a negative LTTng error code