MCPcopy Create free account
hub / github.com/corosync/corosync / mon_exec_init_fn

Function mon_exec_init_fn

exec/mon.c:495–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493}
494
495static char *mon_exec_init_fn (struct corosync_api_v1 *corosync_api)
496{
497#ifdef HAVE_LIBSTATGRAB_GE_090
498 sg_init(1);
499#else
500 sg_init();
501#endif
502
503 api = corosync_api;
504
505 mon_instance_init (&memory_used_inst);
506 mon_instance_init (&load_15min_inst);
507
508 return NULL;
509}
510
511

Callers

nothing calls this directly

Calls 1

mon_instance_initFunction · 0.85

Tested by

no test coverage detected