corosync 3.1.9
|
Go to the source code of this file.
cs_error_t cs_ipcs_get_conn_stats | ( | int | service_id, |
uint32_t | pid, | ||
void * | conn_ptr, | ||
struct ipcs_conn_stats * | ipcs_stats | ||
) |
Definition at line 675 of file ipc_glue.c.
References ipcs_conn_stats::cnx, ipcs_conn_stats::conn, corosync_service, CS_ERR_NOT_EXIST, CS_OK, and ipcs_conn_stats::srv.
Referenced by stats_map_get().
Definition at line 447 of file stats.c.
References cs_schedmiss_stats, schedmiss_entry::delay, ICMAP_KEYNAME_MAXLEN, MAX_SCHEDMISS_EVENTS, nodeid, param, SCHEDMISS_PREFIX, and schedmiss_entry::timestamp.
Definition at line 765 of file stats.c.
References cs_ipcs_conn_stats, ICMAP_KEYNAME_MAXLEN, nodeid, NUM_IPCSC_STATS, and param.
Definition at line 775 of file stats.c.
References cs_ipcs_conn_stats, ICMAP_KEYNAME_MAXLEN, nodeid, NUM_IPCSC_STATS, and param.
cs_error_t stats_map_adjust_int | ( | const char * | key_name, |
int32_t | step | ||
) |
Definition at line 515 of file stats.c.
References CS_ERR_NOT_SUPPORTED.
cs_error_t stats_map_delete | ( | const char * | key_name | ) |
Definition at line 520 of file stats.c.
References CS_ERR_NOT_SUPPORTED.
cs_error_t stats_map_get | ( | const char * | key_name, |
void * | value, | ||
size_t * | value_len, | ||
icmap_value_types_t * | type | ||
) |
Definition at line 325 of file stats.c.
References stats_item::cs_conv, CS_ERR_LIBRARY, CS_ERR_NOT_EXIST, cs_ipcs_get_conn_stats(), cs_ipcs_get_global_stats(), CS_OK, ICMAP_VALUETYPE_FLOAT, ICMAP_VALUETYPE_UINT64, nodeid, SCHEDMISS_PREFIX, totempg_stats_t::srp, stats_map, corosync_api_v1::totem_get_stats, totemknet_handle_get_stats(), totemknet_link_get_status(), cs_stats_conv::type, type, and value.
Referenced by stats_map_track_add(), and stats_trigger_trackers().
cs_error_t stats_map_init | ( | const struct corosync_api_v1 * | api | ) |
Definition at line 289 of file stats.c.
References CS_ERR_INIT, cs_ipcs_global_stats, cs_pg_stats, cs_srp_stats, ICMAP_KEYNAME_MAXLEN, NUM_IPCSG_STATS, NUM_PG_STATS, NUM_SRP_STATS, param, qb_to_cs_error(), and stats_map.
Referenced by main().
Definition at line 525 of file stats.c.
References nodeid, and STATS_CLEAR.
void stats_map_iter_finalize | ( | icmap_iter_t | iter | ) |
icmap_iter_t stats_map_iter_init | ( | const char * | prefix | ) |
const char * stats_map_iter_next | ( | icmap_iter_t | iter, |
size_t * | value_len, | ||
icmap_value_types_t * | type | ||
) |
cs_error_t stats_map_set | ( | const char * | key_name, |
const void * | value, | ||
size_t | value_len, | ||
icmap_value_types_t | type | ||
) |
Definition at line 480 of file stats.c.
References CS_ERR_NOT_SUPPORTED, cs_ipcs_clear_stats(), CS_OK, nodeid, STATS_CLEAR_ALL, STATS_CLEAR_IPC, STATS_CLEAR_KNET, STATS_CLEAR_SCHEDMISS, STATS_CLEAR_TOTEM, totempg_stats_clear(), TOTEMPG_STATS_CLEAR_TOTEM, and TOTEMPG_STATS_CLEAR_TRANSPORT.
cs_error_t stats_map_track_add | ( | const char * | key_name, |
int32_t | track_type, | ||
icmap_notify_fn_t | notify_fn, | ||
void * | user_data, | ||
icmap_track_t * | icmap_track | ||
) |
Definition at line 637 of file stats.c.
References CS_ERR_NO_MEMORY, CS_ERR_NOT_SUPPORTED, CS_OK, ICMAP_TRACK_ADD, ICMAP_TRACK_DELETE, ICMAP_TRACK_PREFIX, icmap_tt_to_qbtt(), cs_stats_tracker::key_name, log_printf, LOGSYS_LEVEL_ERROR, nodeid, cs_stats_tracker::notify_fn, qb_to_cs_error(), stats_map, stats_map_get(), type, and user_data.
cs_error_t stats_map_track_delete | ( | icmap_track_t | icmap_track | ) |
Definition at line 700 of file stats.c.
References CS_OK, ICMAP_TRACK_ADD, ICMAP_TRACK_DELETE, icmap_tt_to_qbtt(), log_printf, LOGSYS_LEVEL_ERROR, nodeid, and stats_map.
void * stats_map_track_get_user_data | ( | icmap_track_t | icmap_track | ) |
Definition at line 722 of file stats.c.
References nodeid, and icmap_track::user_data.
Definition at line 561 of file stats.c.
References CS_OK, ICMAP_TRACK_MODIFY, ICMAP_TRACK_PREFIX, nodeid, stats_map_get(), type, and value.