Commit | Line | Data |
---|---|---|
15fe47e0 | 1 | /* |
0235b0db | 2 | * SPDX-License-Identifier: MIT |
15fe47e0 | 3 | * |
0235b0db | 4 | * Copyright 2019 Philippe Proulx <pproulx@efficios.com> |
15fe47e0 PP |
5 | */ |
6 | ||
0235b0db MJ |
7 | #ifndef BABELTRACE_PLUGIN_CTF_FS_SINK_TRANSLATE_TRACE_IR_TO_CTF_IR_H |
8 | #define BABELTRACE_PLUGIN_CTF_FS_SINK_TRANSLATE_TRACE_IR_TO_CTF_IR_H | |
9 | ||
3fadfbc0 | 10 | #include <babeltrace2/babeltrace.h> |
15fe47e0 | 11 | |
c802cacb SM |
12 | #include "common/macros.h" |
13 | ||
087cd0f5 | 14 | #include "fs-sink-ctf-meta.hpp" |
c802cacb | 15 | #include "fs-sink.hpp" |
15fe47e0 | 16 | |
4164020e SM |
17 | int try_translate_event_class_trace_ir_to_ctf_ir(struct fs_sink_comp *fs_sink, |
18 | struct fs_sink_ctf_stream_class *sc, | |
19 | const bt_event_class *ir_ec, | |
20 | struct fs_sink_ctf_event_class **out_ec); | |
15fe47e0 | 21 | |
4164020e SM |
22 | int try_translate_stream_class_trace_ir_to_ctf_ir(struct fs_sink_comp *fs_sink, |
23 | struct fs_sink_ctf_trace *trace, | |
24 | const bt_stream_class *ir_sc, | |
25 | struct fs_sink_ctf_stream_class **out_sc); | |
15fe47e0 | 26 | |
4164020e SM |
27 | struct fs_sink_ctf_trace *translate_trace_trace_ir_to_ctf_ir(struct fs_sink_comp *fs_sink, |
28 | const bt_trace *ir_trace); | |
15fe47e0 PP |
29 | |
30 | #endif /* BABELTRACE_PLUGIN_CTF_FS_SINK_TRANSLATE_TRACE_IR_TO_CTF_IR_H */ |