| 1 | /* |
| 2 | * SPDX-License-Identifier: MIT |
| 3 | * |
| 4 | * Copyright (c) 2019 EfficiOS Inc. and Linux Foundation |
| 5 | * Copyright (c) 2019 Francis Deslauriers <francis.deslauriers@efficios.com> |
| 6 | * |
| 7 | * Babeltrace - Trace IR data object copy |
| 8 | */ |
| 9 | |
| 10 | #ifndef BABELTRACE_PLUGINS_LTTNG_UTILS_DEBUG_INFO_TRACE_IR_DATA_COPY_H |
| 11 | #define BABELTRACE_PLUGINS_LTTNG_UTILS_DEBUG_INFO_TRACE_IR_DATA_COPY_H |
| 12 | |
| 13 | #include <babeltrace2/babeltrace.h> |
| 14 | |
| 15 | #include "common/macros.h" |
| 16 | #include "trace-ir-mapping.h" |
| 17 | |
| 18 | enum debug_info_trace_ir_mapping_status copy_trace_content( |
| 19 | const bt_trace *in_trace, bt_trace *out_trace, |
| 20 | bt_logging_level log_level, bt_self_component *self_comp); |
| 21 | enum debug_info_trace_ir_mapping_status copy_stream_content( |
| 22 | const bt_stream *in_stream, bt_stream *out_stream, |
| 23 | bt_logging_level log_level, bt_self_component *self_comp); |
| 24 | enum debug_info_trace_ir_mapping_status copy_packet_content( |
| 25 | const bt_packet *in_packet, bt_packet *out_packet, |
| 26 | bt_logging_level log_level, bt_self_component *self_comp); |
| 27 | enum debug_info_trace_ir_mapping_status copy_event_content( |
| 28 | const bt_event *in_event, bt_event *out_event, |
| 29 | bt_logging_level log_level, bt_self_component *self_comp); |
| 30 | enum debug_info_trace_ir_mapping_status copy_field_content( |
| 31 | const bt_field *in_field, bt_field *out_field, |
| 32 | bt_logging_level log_level, bt_self_component *self_comp); |
| 33 | |
| 34 | #endif /* BABELTRACE_PLUGINS_LTTNG_UTILS_DEBUG_INFO_TRACE_IR_DATA_COPY_H */ |