MCPcopy Create free account
hub / github.com/F-Stack/f-stack / disable_primary_monitor

Function disable_primary_monitor

dpdk/app/pdump/main.c:558–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558static void
559disable_primary_monitor(void)
560{
561 int ret;
562
563 /*
564 * Cancel monitoring of primary process.
565 * There will be no error if no alarm is set
566 * (in case primary process kill was detected earlier).
567 */
568 ret = rte_eal_alarm_cancel(monitor_primary, NULL);
569 if (ret < 0)
570 printf("Fail to disable monitor:%d\n", ret);
571}
572
573static void
574signal_handler(int sig_num __rte_unused)

Callers 1

mainFunction · 0.70

Calls 2

rte_eal_alarm_cancelFunction · 0.50
printfFunction · 0.50

Tested by

no test coverage detected