loge_exception_append_cause(
"Trace class's destruction listener (Python)",
BT_LOG_OUTPUT_LEVEL);
loge_exception_append_cause(
"Trace class's destruction listener (Python)",
BT_LOG_OUTPUT_LEVEL);
status = bt_trace_class_add_destruction_listener(
trace_class, trace_class_destroyed_listener, py_callable, id);
if (status == __BT_FUNC_STATUS_OK) {
status = bt_trace_class_add_destruction_listener(
trace_class, trace_class_destroyed_listener, py_callable, id);
if (status == __BT_FUNC_STATUS_OK) {