Initial implementation of the debuginfo API
[babeltrace.git] / include / babeltrace / ctf-ir / metadata.h
index 03dea567855bf6de8a1c66e761206766e5a11494..f40fb86cf3e352a391a46f0444df5516346978e3 100644 (file)
@@ -191,6 +191,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;
 
@@ -229,6 +233,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.023336 seconds and 4 git commands to generate.