Function lttngpy::add_snapshot_output
Defined in File snapshot.hpp
Function Documentation
-
int lttngpy::add_snapshot_output(const std::string &session_name, const uint64_t max_size, const std::string &name, const std::string &url)
Add an output object to the snapshot session.
- Parameters:
session_name – the session name
max_size – the maximum size of the snapshot output in bytes
name – the name of the snapshot output
url – the destination URL for the snapshot output
- Returns:
0 on success, else a negative LTTng error code