Function lttngpy::enable_events

Function Documentation

int lttngpy::enable_events(const std::string &session_name, const enum lttng_domain_type domain_type, const enum lttng_event_type event_type, const std::string &channel_name, const std::set<std::string> &events)

Enable events.

Parameters:
  • session_name – the session name

  • domain_type – the domain type

  • event_type – the event type

  • channel_name – the channel name

  • events – the set of event names

Returns:

0 on success, else a negative LTTng error code