#include <linux/compiler.h>
#include "builtin.h"
#include "perf.h"
#include "debug.h"
#include <subcmd/parse-options.h>
#include "data-convert.h"
#include "data-convert-bt.h"
Go to the source code of this file.
◆ for_each_cmd
#define for_each_cmd |
( |
|
cmd | ) |
for (cmd = data_cmds; cmd && cmd->name; cmd++) |
◆ data_cmd_fn_t
typedef int(* data_cmd_fn_t) (int argc, const char **argv) |
◆ cmd_data()
int cmd_data |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
◆ cmd_data_convert()
static int cmd_data_convert |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
|
static |
◆ print_usage()
static void print_usage |
( |
void |
| ) |
|
|
static |
◆ data_cmds
Initial value:= {
{ .name = NULL, },
}
static int cmd_data_convert(int argc, const char **argv)
Definition at line 18 of file builtin-data.c.
◆ data_convert_usage
const char* const data_convert_usage[] |
|
static |
Initial value:= {
"perf data convert [<options>]",
NULL
}
Definition at line 49 of file builtin-data.c.
◆ data_options
const struct option data_options[] |
|
static |
◆ data_subcommands
const char* const data_subcommands[] = { "convert", NULL } |
|
static |
◆ data_usage
Initial value:= {
"perf data [<common options>] <command> [<options>]",
NULL
}
Definition at line 29 of file builtin-data.c.