sys.path.append(lttng_bindings_libs_path)
from lttng import *
+BABELTRACE_BIN="babeltrace2"
class SessionInfo:
def __init__(self, handle, session_name, tmp_directory, channel_name):
res = create(session_name, trace_path)
if res < 0:
- bail("Failed to create tracing session.")
+ bail("Failed to create recording session.")
channel = Channel()
channel.name = "channel0"