#include <talloc.h>
-#include <gmodule.h>
+#include <glib.h>
#include <string.h>
#include <mon_internal.h>
case MON_CMD_UNKNOWN:
return NULL;
- case MON_CMD_RECONFIGURE:
- return "reconfigure";
-
case MON_CMD_SHOW:
return "show";
}
MON_CMD mon_cmd_from_string(const char *s)
{
- return_if_matches(s, MON_CMD_RECONFIGURE);
return_if_matches(s, MON_CMD_SHOW);
return MON_CMD_UNKNOWN;
}
return "uptime";
case OPT_TYPE_SHOW_TID_REQ_COUNT:
- return "tid_req_count";
+ return "tid_reqs_processed";
case OPT_TYPE_SHOW_TID_REQ_ERR_COUNT:
- return "tid_req_error_count";
+ return "tid_error_count";
case OPT_TYPE_SHOW_TID_REQ_PENDING:
- return "tid_req_pending";
+ return "tid_reqs_pending";
case OPT_TYPE_SHOW_ROUTES:
return "routes";