data-convert.h (512B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __DATA_CONVERT_H 3#define __DATA_CONVERT_H 4 5#include <stdbool.h> 6 7struct perf_data_convert_opts { 8 bool force; 9 bool all; 10 bool tod; 11}; 12 13#ifdef HAVE_LIBBABELTRACE_SUPPORT 14int bt_convert__perf2ctf(const char *input_name, const char *to_ctf, 15 struct perf_data_convert_opts *opts); 16#endif /* HAVE_LIBBABELTRACE_SUPPORT */ 17 18int bt_convert__perf2json(const char *input_name, const char *to_ctf, 19 struct perf_data_convert_opts *opts); 20 21#endif /* __DATA_CONVERT_H */