| 960 | } |
| 961 | |
| 962 | static void |
| 963 | enable_primary_monitor(void) |
| 964 | { |
| 965 | int ret; |
| 966 | |
| 967 | /* Once primary exits, so will pdump. */ |
| 968 | ret = rte_eal_alarm_set(MONITOR_INTERVAL, monitor_primary, NULL); |
| 969 | if (ret < 0) |
| 970 | printf("Fail to enable monitor:%d\n", ret); |
| 971 | } |
| 972 | |
| 973 | int |
| 974 | main(int argc, char **argv) |
no test coverage detected