Initial implementation of the debuginfo API
[babeltrace.git] / include / babeltrace / ctf-ir / metadata.h
index 0e16f6218f9ea95d8fb361e75e6714d7eaf2ef76..80033ff47f40adbe7b025fefc1df9c5774a0d288 100644 (file)
@@ -187,6 +187,10 @@ struct ctf_tracer_env {
        char tracer_name[TRACER_ENV_LEN];
 };
 
+#ifdef ENABLE_DEBUGINFO
+struct debug_info;
+#endif
+
 struct ctf_trace {
        struct bt_trace_descriptor parent;
 
@@ -225,6 +229,11 @@ struct ctf_trace {
        DIR *dir;
        int dirfd;
        int flags;              /* open flags */
+
+#ifdef ENABLE_DEBUGINFO
+       /* Debug information for this trace */
+       struct debug_info *debug_info;
+#endif
 };
 
 #define CTF_STREAM_SET_FIELD(ctf_stream, field)                                \
This page took 0.023137 seconds and 4 git commands to generate.