Profiling commands.
More...
#include <stdio.h>
#include <getopt.h>
#include <ipxe/command.h>
#include <ipxe/parseopt.h>
#include <usr/profstat.h>
Go to the source code of this file.
Profiling commands.
Definition in file profstat_cmd.c.
◆ FILE_LICENCE()
| FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL |
| ) |
|
◆ FILE_SECBOOT()
| FILE_SECBOOT |
( |
PERMITTED |
| ) |
|
◆ profstat_exec()
| static int profstat_exec |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
The "profstat" command.
- Parameters
-
| argc | Argument count |
| argv | Argument list |
- Return values
-
Definition at line 56 of file profstat_cmd.c.
struct arbelprm_rc_send_wqe rc
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
void profstat(void)
Print profiling statistics.
static struct command_descriptor profstat_cmd
"profstat" command descriptor
static union @447 opts
"cert<xxx>" option list
References opts, parse_options(), profstat(), profstat_cmd, and rc.
◆ COMMAND()
◆ profstat_opts
◆ profstat_cmd
Initial value:=
static struct option_descriptor profstat_opts[]
"profstat" option list
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
#define NULL
NULL pointer (VOID *)
"profstat" command descriptor
Definition at line 46 of file profstat_cmd.c.
Referenced by profstat_exec().