hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/tools/perf/builtin-data.c
....@@ -1,5 +1,7 @@
11 // SPDX-License-Identifier: GPL-2.0
22 #include <linux/compiler.h>
3
+#include <stdio.h>
4
+#include <string.h>
35 #include "builtin.h"
46 #include "perf.h"
57 #include "debug.h"
....@@ -63,6 +65,7 @@
6365 OPT_STRING('i', "input", &input_name, "file", "input file name"),
6466 #ifdef HAVE_LIBBABELTRACE_SUPPORT
6567 OPT_STRING(0, "to-ctf", &to_ctf, NULL, "Convert to CTF format"),
68
+ OPT_BOOLEAN(0, "tod", &opts.tod, "Convert time to wall clock time"),
6669 #endif
6770 OPT_BOOLEAN('f', "force", &opts.force, "don't complain, do it"),
6871 OPT_BOOLEAN(0, "all", &opts.all, "Convert all events"),