| 1 |
|
| 2 | #ifndef __DATA_CONVERT_H
|
| 3 | #define __DATA_CONVERT_H
|
| 4 |
|
| 5 | #include <stdbool.h>
|
| 6 |
|
| 7 | struct perf_data_convert_opts {
|
| 8 | bool force;
|
| 9 | bool all;
|
| 10 | bool tod;
|
| 11 | const char *time_str;
|
| 12 | };
|
| 13 |
|
| 14 | #ifdef HAVE_BABELTRACE2_CTF_WRITER_SUPPORT
|
| 15 | int bt_convert__perf2ctf(const char *input_name, const char *to_ctf,
|
| 16 | struct perf_data_convert_opts *opts);
|
| 17 | #endif
|
| 18 |
|
| 19 | int bt_convert__perf2json(const char *input_name, const char *to_ctf,
|
| 20 | struct perf_data_convert_opts *opts);
|
| 21 |
|
| 22 | #endif
|