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 | |
91d81473 | 12 | #include "common/macros.h" |
44c440bc | 13 | |
087cd0f5 | 14 | #include "ctf-meta.hpp" |
44c440bc | 15 | |
f7b785ac PP |
16 | struct meta_log_config; |
17 | ||
0746848c | 18 | int ctf_trace_class_resolve_field_classes(struct ctf_trace_class *tc, |
4164020e | 19 | struct meta_log_config *log_cfg); |
44c440bc | 20 | |
4164020e SM |
21 | int ctf_trace_class_translate(bt_self_component *self_comp, bt_trace_class *ir_tc, |
22 | struct ctf_trace_class *tc); | |
44c440bc | 23 | |
4164020e SM |
24 | int ctf_trace_class_update_default_clock_classes(struct ctf_trace_class *ctf_tc, |
25 | struct meta_log_config *log_cfg); | |
44c440bc | 26 | |
44c440bc PP |
27 | int ctf_trace_class_update_in_ir(struct ctf_trace_class *ctf_tc); |
28 | ||
44c440bc PP |
29 | int ctf_trace_class_update_meanings(struct ctf_trace_class *ctf_tc); |
30 | ||
44c440bc PP |
31 | int ctf_trace_class_update_text_array_sequence(struct ctf_trace_class *ctf_tc); |
32 | ||
e6938018 PP |
33 | int ctf_trace_class_update_alignments(struct ctf_trace_class *ctf_tc); |
34 | ||
44c440bc PP |
35 | int ctf_trace_class_update_value_storing_indexes(struct ctf_trace_class *ctf_tc); |
36 | ||
afd45274 PP |
37 | int ctf_trace_class_update_stream_class_config(struct ctf_trace_class *ctf_tc); |
38 | ||
4164020e | 39 | int ctf_trace_class_validate(struct ctf_trace_class *ctf_tc, struct meta_log_config *log_cfg); |
44c440bc | 40 | |
4164020e SM |
41 | void ctf_trace_class_warn_meaningless_header_fields(struct ctf_trace_class *ctf_tc, |
42 | struct meta_log_config *log_cfg); | |
83ebb7f1 | 43 | |
44c440bc | 44 | #endif /* _CTF_META_VISITORS_H */ |