- * Return the trace handle id of the opened trace
- */
-int bt_context_add_trace(struct bt_context *ctx, const char *path,
- const char *format);
-
-/*
- * bt_context_add_traces: Open a trace recursively
+ * packet_seek can be NULL to use the default packet_seek handler
+ * provided by the trace format. If non-NULL, it is used as an override
+ * of the handler for seeks across packets. It takes as parameter a
+ * stream position, the packet index it needs to seek to (for SEEK_SET),
+ * and a "whence" parameter (either SEEK_CUR: seek to next packet, or
+ * SEEK_SET: seek to packet at packet index).