#include "builtin.h"
#include "perf.h"
#include "color.h"
#include <linux/compiler.h>
#include <tools/config.h>
#include <stdio.h>
#include <string.h>
#include <subcmd/parse-options.h>
Go to the source code of this file.
◆ STATUS
#define STATUS |
( |
|
__d, |
|
|
|
__m |
|
) |
| |
Value:do { \
if (IS_BUILTIN(__d)) \
status_print(#__m, #__d,
"on");
\} while (0)
static void status_print(const char *name, const char *macro, const char *status)
Definition at line 49 of file builtin-version.c.
◆ cmd_version()
int cmd_version |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
◆ library_status()
static void library_status |
( |
void |
| ) |
|
|
static |
◆ on_off_print()
static void on_off_print |
( |
const char * |
status | ) |
|
|
static |
◆ status_print()
static void status_print |
( |
const char * |
name, |
|
|
const char * |
macro, |
|
|
const char * |
status |
|
) |
| |
|
static |
◆ version
◆ version_options
struct option version_options[] |
|
static |
Initial value:= {
"display the build options"),
}
Definition at line 19 of file builtin-version.c.
◆ version_usage
const char* const version_usage[] |
|
static |
Initial value:= {
"perf version [<options>]",
NULL
}
Definition at line 24 of file builtin-version.c.
◆ version_verbose