Function lttngpy::is_available

Function Documentation

bool lttngpy::is_available()

Check if lttng-ctl is available.

This is the only function guaranteed to exist in this Python module. If this returns false, then it means that no other functions are available.

This is false on non-Linux platforms, or if it was explicitly disabled during build.

Returns:

true if available, false otherwise