22 lines
512 B
C
Raw Normal View History

2026-01-21 18:59:54 +08:00
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __DATA_CONVERT_H
#define __DATA_CONVERT_H
2026-01-29 22:25:33 +08:00
#include <stdbool.h>
2026-01-21 18:59:54 +08:00
struct perf_data_convert_opts {
bool force;
bool all;
bool tod;
};
2026-01-29 22:25:33 +08:00
#ifdef HAVE_LIBBABELTRACE_SUPPORT
int bt_convert__perf2ctf(const char *input_name, const char *to_ctf,
struct perf_data_convert_opts *opts);
#endif /* HAVE_LIBBABELTRACE_SUPPORT */
int bt_convert__perf2json(const char *input_name, const char *to_ctf,
struct perf_data_convert_opts *opts);
2026-01-21 18:59:54 +08:00
#endif /* __DATA_CONVERT_H */