Motr  M0
version.c File Reference
#include "motr/version.h"
#include "xcode/protocol_checksum.h"
#include "lib/trace.h"
Include dependency graph for version.c:

Go to the source code of this file.

Macros

#define BI_PREFIX
 

Functions

const struct m0_build_infom0_build_info_get (void)
 
void m0_build_info_print (void)
 

Variables

static const struct m0_build_info build_info
 

Macro Definition Documentation

◆ BI_PREFIX

#define BI_PREFIX

Definition at line 33 of file version.c.

Function Documentation

◆ m0_build_info_get()

const struct m0_build_info* m0_build_info_get ( void  )

Definition at line 61 of file version.c.

Here is the caller graph for this function:

◆ m0_build_info_print()

void m0_build_info_print ( void  )

Definition at line 66 of file version.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ build_info

const struct m0_build_info build_info
static
Initial value:
= {
.bi_version = M0_VERSION_CODE,
.bi_version_string = M0_VERSION_STRING,
.bi_git_rev_id = M0_VERSION_GIT_REV_ID,
.bi_git_describe = M0_VERSION_GIT_DESCRIBE,
.bi_git_branch = M0_VERSION_GIT_BRANCH,
.bi_toolchain = M0_VERSION_BUILD_GCC,
.bi_kcflags = M0_VERSION_BUILD_KCFLAGS,
.bi_ldflags = M0_VERSION_BUILD_LDFLAGS,
.bi_configure_opts = M0_VERSION_BUILD_CONFIGURE_OPTS,
.bi_build_dir = M0_VERSION_BUILD_DIR,
.bi_lustre_src = M0_VERSION_LUSTRE_SRC,
.bi_lustre_version = M0_VERSION_LUSTRE_VER,
.bi_xcode_protocol_checksum = M0_XCODE_PROTOCOL_CHECKSUM_MD5,
.bi_xcode_protocol_be_checksum = M0_XCODE_PROTOCOL_BE_CHECKSUM_MD5,
.bi_xcode_protocol_conf_checksum = M0_XCODE_PROTOCOL_CONF_CHECKSUM_MD5,
.bi_xcode_protocol_rpc_checksum = M0_XCODE_PROTOCOL_RPC_CHECKSUM_MD5,
}
#define M0_VERSION_BUILD_TIME
#define M0_VERSION_GIT_REV_ID
#define M0_VERSION_BUILD_DIR
#define M0_VERSION_CODE
#define M0_VERSION_BUILD_CFLAGS
#define M0_VERSION_STRING
#define M0_VERSION_BUILD_KERNEL
#define M0_VERSION_GIT_DESCRIBE
#define M0_VERSION_BUILD_USER
#define M0_VERSION_LUSTRE_SRC
#define M0_VERSION_BUILD_KCFLAGS
#define M0_VERSION_BUILD_GCC
#define M0_VERSION_LUSTRE_VER
#define M0_VERSION_GIT_BRANCH
#define M0_VERSION_BUILD_HOST
#define M0_VERSION_BUILD_LDFLAGS
#define M0_VERSION_BUILD_CONFIGURE_OPTS

Definition at line 36 of file version.c.