Commit | Line | Data |
---|---|---|
7b33a0e0 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 | ||
71c5da58 | 18 | #include <babeltrace2/babeltrace.h> |
85e7137b | 19 | #include "common/macros.h" |
7b33a0e0 PP |
20 | |
21 | #include "ctf-meta.h" | |
22 | ||
16699f85 PP |
23 | struct meta_log_config; |
24 | ||
7b33a0e0 | 25 | BT_HIDDEN |
1f1f2720 | 26 | int ctf_trace_class_resolve_field_classes(struct ctf_trace_class *tc, |
16699f85 | 27 | struct meta_log_config *log_cfg); |
7b33a0e0 PP |
28 | |
29 | BT_HIDDEN | |
16699f85 | 30 | int ctf_trace_class_translate(bt_self_component *self_comp, |
c0c2ed34 | 31 | bt_trace_class *ir_tc, struct ctf_trace_class *tc); |
7b33a0e0 PP |
32 | |
33 | BT_HIDDEN | |
34 | int ctf_trace_class_update_default_clock_classes( | |
1f1f2720 | 35 | struct ctf_trace_class *ctf_tc, |
16699f85 | 36 | struct meta_log_config *log_cfg); |
7b33a0e0 PP |
37 | |
38 | BT_HIDDEN | |
39 | int ctf_trace_class_update_in_ir(struct ctf_trace_class *ctf_tc); | |
40 | ||
41 | BT_HIDDEN | |
42 | int ctf_trace_class_update_meanings(struct ctf_trace_class *ctf_tc); | |
43 | ||
44 | BT_HIDDEN | |
45 | int ctf_trace_class_update_text_array_sequence(struct ctf_trace_class *ctf_tc); | |
46 | ||
0e32706b PP |
47 | BT_HIDDEN |
48 | int ctf_trace_class_update_alignments(struct ctf_trace_class *ctf_tc); | |
49 | ||
7b33a0e0 PP |
50 | BT_HIDDEN |
51 | int ctf_trace_class_update_value_storing_indexes(struct ctf_trace_class *ctf_tc); | |
52 | ||
32476570 PP |
53 | BT_HIDDEN |
54 | int ctf_trace_class_update_stream_class_config(struct ctf_trace_class *ctf_tc); | |
55 | ||
7b33a0e0 | 56 | BT_HIDDEN |
1f1f2720 | 57 | int ctf_trace_class_validate(struct ctf_trace_class *ctf_tc, |
16699f85 | 58 | struct meta_log_config *log_cfg); |
7b33a0e0 | 59 | |
0476f6f7 PP |
60 | BT_HIDDEN |
61 | void ctf_trace_class_warn_meaningless_header_fields( | |
16699f85 PP |
62 | struct ctf_trace_class *ctf_tc, |
63 | struct meta_log_config *log_cfg); | |
0476f6f7 | 64 | |
7b33a0e0 | 65 | #endif /* _CTF_META_VISITORS_H */ |