Motr  M0
stats_api.c File Reference
#include "errno.h"
#include "stdio.h"
#include "lib/memory.h"
#include "fop/fop.h"
#include "rpc/rpclib.h"
#include "stats/stats_fops.h"
#include "stats/stats_fops_xc.h"
#include "lib/trace.h"
Include dependency graph for stats_api.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_STATS
 

Functions

static struct m0_stats_recsstats_recs_dup (struct m0_stats_recs *stats_recs)
 
static struct m0_fopquery_fop_alloc (void)
 
int m0_stats_query (struct m0_rpc_session *session, struct m0_stats_recs **stats)
 
void m0_stats_free (struct m0_stats_recs *stats)
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_STATS

Definition at line 32 of file stats_api.c.

Function Documentation

◆ m0_stats_query()

int m0_stats_query ( struct m0_rpc_session session,
struct m0_stats_recs **  stats 
)

Definition at line 107 of file stats_api.c.

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

◆ query_fop_alloc()

static struct m0_fop* query_fop_alloc ( void  )
static

Definition at line 84 of file stats_api.c.

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

◆ stats_recs_dup()

static struct m0_stats_recs* stats_recs_dup ( struct m0_stats_recs stats_recs)
static

Definition at line 35 of file stats_api.c.

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