Пример #1
0
        public BtContext()
        {
            // make call to babeltrace-ctf library to ensure the format is known by babeltrace.
            Interop.CtfFieldGetError();

            _handle = Interop.CreateContext();
        }
Пример #2
0
 public static extern EventIteratorSafeHandle CreateCtfIterator(ContextSafeHandle context,
                                                                IteratorPos *beginPos = null, IteratorPos *endPos = null);
Пример #3
0
 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);