public BtContext() { // make call to babeltrace-ctf library to ensure the format is known by babeltrace. Interop.CtfFieldGetError(); _handle = Interop.CreateContext(); }
public static extern EventIteratorSafeHandle CreateCtfIterator(ContextSafeHandle context, IteratorPos *beginPos = null, IteratorPos *endPos = null);
public static extern int ContextAddTrace(ContextSafeHandle context, string path, string format = "ctf", void *packet_seek = null, void *bt_mmap_stream_list = null, void *metadata = null);