0001
0002 #ifndef __DATA_CONVERT_H
0003 #define __DATA_CONVERT_H
0004
0005 #include <stdbool.h>
0006
0007 struct perf_data_convert_opts {
0008 bool force;
0009 bool all;
0010 bool tod;
0011 };
0012
0013 #ifdef HAVE_LIBBABELTRACE_SUPPORT
0014 int bt_convert__perf2ctf(const char *input_name, const char *to_ctf,
0015 struct perf_data_convert_opts *opts);
0016 #endif
0017
0018 int bt_convert__perf2json(const char *input_name, const char *to_ctf,
0019 struct perf_data_convert_opts *opts);
0020
0021 #endif