Commit | Line | Data |
---|---|---|
44c440bc | 1 | /* |
0235b0db | 2 | * SPDX-License-Identifier: MIT |
44c440bc | 3 | * |
0235b0db | 4 | * Copyright 2018 Philippe Proulx <pproulx@efficios.com> |
44c440bc PP |
5 | */ |
6 | ||
0235b0db MJ |
7 | #ifndef _CTF_META_VISITORS_H |
8 | #define _CTF_META_VISITORS_H | |
9 | ||
3fadfbc0 | 10 | #include <babeltrace2/babeltrace.h> |
c802cacb | 11 | |
087cd0f5 | 12 | #include "ctf-meta.hpp" |
44c440bc | 13 | |
f7b785ac PP |
14 | struct meta_log_config; |
15 | ||
0746848c | 16 | int ctf_trace_class_resolve_field_classes(struct ctf_trace_class *tc, |
4164020e | 17 | struct meta_log_config *log_cfg); |
44c440bc | 18 | |
4164020e SM |
19 | int ctf_trace_class_translate(bt_self_component *self_comp, bt_trace_class *ir_tc, |
20 | struct ctf_trace_class *tc); | |
44c440bc | 21 | |
4164020e SM |
22 | int ctf_trace_class_update_default_clock_classes(struct ctf_trace_class *ctf_tc, |
23 | struct meta_log_config *log_cfg); | |
44c440bc | 24 | |
44c440bc PP |
25 | int ctf_trace_class_update_in_ir(struct ctf_trace_class *ctf_tc); |
26 | ||
44c440bc PP |
27 | int ctf_trace_class_update_meanings(struct ctf_trace_class *ctf_tc); |
28 | ||
44c440bc PP |
29 | int ctf_trace_class_update_text_array_sequence(struct ctf_trace_class *ctf_tc); |
30 | ||
e6938018 PP |
31 | int ctf_trace_class_update_alignments(struct ctf_trace_class *ctf_tc); |
32 | ||
44c440bc PP |
33 | int ctf_trace_class_update_value_storing_indexes(struct ctf_trace_class *ctf_tc); |
34 | ||
afd45274 PP |
35 | int ctf_trace_class_update_stream_class_config(struct ctf_trace_class *ctf_tc); |
36 | ||
4164020e | 37 | int ctf_trace_class_validate(struct ctf_trace_class *ctf_tc, struct meta_log_config *log_cfg); |
44c440bc | 38 | |
4164020e SM |
39 | void ctf_trace_class_warn_meaningless_header_fields(struct ctf_trace_class *ctf_tc, |
40 | struct meta_log_config *log_cfg); | |
83ebb7f1 | 41 | |
44c440bc | 42 | #endif /* _CTF_META_VISITORS_H */ |