Commit | Line | Data |
---|---|---|
44c440bc PP |
1 | #ifndef _CTF_META_VISITORS_H |
2 | #define _CTF_META_VISITORS_H | |
3 | ||
4 | /* | |
5 | * Copyright 2018 - Philippe Proulx <pproulx@efficios.com> | |
6 | * | |
7 | * Permission is hereby granted, free of charge, to any person obtaining a copy | |
8 | * of this software and associated documentation files (the "Software"), to deal | |
9 | * in the Software without restriction, including without limitation the rights | |
10 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
11 | * copies of the Software, and to permit persons to whom the Software is | |
12 | * furnished to do so, subject to the following conditions: | |
13 | * | |
14 | * The above copyright notice and this permission notice shall be included in | |
15 | * all copies or substantial portions of the Software. | |
16 | */ | |
17 | ||
3fadfbc0 | 18 | #include <babeltrace2/babeltrace.h> |
91d81473 | 19 | #include "common/macros.h" |
44c440bc PP |
20 | |
21 | #include "ctf-meta.h" | |
22 | ||
23 | BT_HIDDEN | |
0746848c PP |
24 | int ctf_trace_class_resolve_field_classes(struct ctf_trace_class *tc, |
25 | bt_logging_level log_level); | |
44c440bc PP |
26 | |
27 | BT_HIDDEN | |
7fcdb0a9 FD |
28 | int ctf_trace_class_translate(bt_self_component_source *self_comp, |
29 | bt_trace_class *ir_tc, struct ctf_trace_class *tc); | |
44c440bc PP |
30 | |
31 | BT_HIDDEN | |
32 | int ctf_trace_class_update_default_clock_classes( | |
0746848c PP |
33 | struct ctf_trace_class *ctf_tc, |
34 | bt_logging_level log_level); | |
44c440bc PP |
35 | |
36 | BT_HIDDEN | |
37 | int ctf_trace_class_update_in_ir(struct ctf_trace_class *ctf_tc); | |
38 | ||
39 | BT_HIDDEN | |
40 | int ctf_trace_class_update_meanings(struct ctf_trace_class *ctf_tc); | |
41 | ||
42 | BT_HIDDEN | |
43 | int ctf_trace_class_update_text_array_sequence(struct ctf_trace_class *ctf_tc); | |
44 | ||
45 | BT_HIDDEN | |
46 | int ctf_trace_class_update_value_storing_indexes(struct ctf_trace_class *ctf_tc); | |
47 | ||
afd45274 PP |
48 | BT_HIDDEN |
49 | int ctf_trace_class_update_stream_class_config(struct ctf_trace_class *ctf_tc); | |
50 | ||
44c440bc | 51 | BT_HIDDEN |
0746848c PP |
52 | int ctf_trace_class_validate(struct ctf_trace_class *ctf_tc, |
53 | bt_logging_level log_level); | |
44c440bc | 54 | |
83ebb7f1 PP |
55 | BT_HIDDEN |
56 | void ctf_trace_class_warn_meaningless_header_fields( | |
0746848c | 57 | struct ctf_trace_class *ctf_tc, bt_logging_level log_level); |
83ebb7f1 | 58 | |
44c440bc | 59 | #endif /* _CTF_META_VISITORS_H */ |