Motr  M0
st_main.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <ucontext.h>
#include <signal.h>
#include <assert.h>
#include "lib/getopts.h"
#include "lib/thread.h"
#include "motr/client.h"
#include "motr/idx.h"
#include "motr/st/st.h"
#include "motr/st/st_misc.h"
#include "motr/st/st_assert.h"
#include "motr/client_internal.h"
#include "sm/sm.h"
Include dependency graph for st_main.c:

Go to the source code of this file.

Enumerations

enum  idx_service { IDX_MOTR = 1, IDX_CASS, IDX_MOTR = 1, IDX_CASS }
 

Functions

static int st_init_instance (void)
 
static void st_fini_instance (void)
 
static int st_wait_workers (void)
 
void st_usage ()
 
void st_get_opts (int argc, char **argv)
 
int main (int argc, char **argv)
 

Variables

static char * local_addr
 
static char * ha_addr
 
static char * prof
 
static char * proc_fid
 
static char * tests
 
enum idx_service index_service
 
static struct m0_config conf
 
static struct m0_idx_dix_config dix_conf
 
static struct m0_idx_cass_config cass_conf
 

Enumeration Type Documentation

◆ idx_service

Enumerator
IDX_MOTR 
IDX_CASS 
IDX_MOTR 
IDX_CASS 

Definition at line 37 of file st_main.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 202 of file st_main.c.

Here is the call graph for this function:

◆ st_fini_instance()

static void st_fini_instance ( void  )
static

Definition at line 99 of file st_main.c.

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

◆ st_get_opts()

void st_get_opts ( int  argc,
char **  argv 
)

Definition at line 130 of file st_main.c.

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

◆ st_init_instance()

static int st_init_instance ( void  )
static

Definition at line 57 of file st_main.c.

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

◆ st_usage()

void st_usage ( )

Definition at line 109 of file st_main.c.

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

◆ st_wait_workers()

static int st_wait_workers ( void  )
static

Definition at line 104 of file st_main.c.

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

Variable Documentation

◆ cass_conf

struct m0_idx_cass_config cass_conf
static

Definition at line 55 of file st_main.c.

◆ conf

struct m0_config conf
static

Definition at line 49 of file st_main.c.

◆ dix_conf

struct m0_idx_dix_config dix_conf
static

Definition at line 54 of file st_main.c.

◆ ha_addr

char* ha_addr
static

Definition at line 44 of file st_main.c.

◆ index_service

enum idx_service index_service

Definition at line 48 of file st_main.c.

◆ local_addr

char* local_addr
static

Definition at line 43 of file st_main.c.

◆ proc_fid

char* proc_fid
static

Definition at line 46 of file st_main.c.

◆ prof

char* prof
static

Definition at line 45 of file st_main.c.

◆ tests

char* tests
static

Definition at line 47 of file st_main.c.