lib: make trace IR API const-correct
[babeltrace.git] / plugins / lttng-utils / debug-info.h
index 3f067280e12568e76fad9c4487126f8562ca74ae..56f9bc1e8c101cdea6ea95edfab0d3039d5336d9 100644 (file)
@@ -74,8 +74,8 @@ struct debug_info_iterator {
 };
 
 struct debug_info_trace {
-       struct bt_trace *trace;
-       struct bt_trace *writer_trace;
+       const struct bt_trace *trace;
+       const struct bt_trace *writer_trace;
        struct debug_info_component *debug_info_component;
        struct debug_info_iterator *debug_it;
        int static_listener_id;
@@ -120,7 +120,7 @@ struct debug_info_source *debug_info_query(struct debug_info *debug_info,
                int64_t vpid, uint64_t ip);
 
 BT_HIDDEN
-void debug_info_handle_event(FILE *err, struct bt_event *event,
+void debug_info_handle_event(FILE *err, const struct bt_event *event,
                struct debug_info *debug_info);
 
 BT_HIDDEN
This page took 0.024242 seconds and 4 git commands to generate.