static int dpdk_telemetry_config(oconfig_item_t *ci) {
int ret, i;
- INFO(PLUGIN_NAME ": %s:%d", __FUNCTION__, __LINE__);
+ DEBUG(PLUGIN_NAME ": %s:%d", __FUNCTION__, __LINE__);
for (i = 0; i < ci->children_num; i++) {
oconfig_item_t *child = ci->children + i;
}
static int dpdk_telemetry_socket_init(void) {
- INFO(PLUGIN_NAME ": %s:%d", __FUNCTION__, __LINE__);
+ DEBUG(PLUGIN_NAME ": %s:%d", __FUNCTION__, __LINE__);
char message[BUF_SIZE];
/* Here we look up the length of the g_dpdk_path string
}
static int dpdk_telemetry_shutdown(void) {
- INFO(PLUGIN_NAME ": %s:%d", __FUNCTION__, __LINE__);
+ DEBUG(PLUGIN_NAME ": %s:%d", __FUNCTION__, __LINE__);
char msg[BUF_SIZE];
int ret;
}
static int dpdk_telemetry_read(user_data_t *ud) {
- INFO(PLUGIN_NAME ": %s:%d", __FUNCTION__, __LINE__);
+ DEBUG(PLUGIN_NAME ": %s:%d", __FUNCTION__, __LINE__);
char buffer[BUF_SIZE];
int bytes = 0, ret;
char *json_string[MAX_COMMANDS] = {"{\"action\":0,\"command\":"
static int dpdk_telemetry_init(void) {
- INFO(PLUGIN_NAME ": %s:%d", __FUNCTION__, __LINE__);
+ DEBUG(PLUGIN_NAME ": %s:%d", __FUNCTION__, __LINE__);
client.s_send = -1;
client.s_recv = -1;