From 26a75adf3cdb7a1cb63e7cc0c495394d7365a4ba Mon Sep 17 00:00:00 2001 From: Nichamon Naksinehaboon Date: Wed, 21 Aug 2024 09:41:34 -0500 Subject: [PATCH] Cleanup req2thrstat_op_tbl --- ldms/src/core/ldms_xprt.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/ldms/src/core/ldms_xprt.c b/ldms/src/core/ldms_xprt.c index 1c3c7212b..b383a8003 100644 --- a/ldms/src/core/ldms_xprt.c +++ b/ldms/src/core/ldms_xprt.c @@ -4307,9 +4307,6 @@ int ldms_xprt_get_threads(ldms_t x, pthread_t *out, int n) } enum ldms_thrstat_op_e req2thrstat_op_tbl[] = { - /* - * TODO: Finish this table - */ [LDMS_CMD_DIR] = LDMS_THRSTAT_OP_DIR_REQ , [LDMS_CMD_DIR_CANCEL] = LDMS_THRSTAT_OP_DIR_REQ , [LDMS_CMD_LOOKUP] = LDMS_THRSTAT_OP_LOOKUP_REQ , @@ -4322,26 +4319,12 @@ enum ldms_thrstat_op_e req2thrstat_op_tbl[] = { [LDMS_CMD_SET_DELETE] = LDMS_THRSTAT_OP_SET_DELETE_REQ , [LDMS_CMD_SEND_CREDIT] = LDMS_THRSTAT_OP_OTHER , - /* stream requests */ -// [LDMS_CMD_STREAM_MSG] =, /* for stream messages */ -// [LDMS_CMD_STREAM_SUB] =, /* stream subscribe request */ -// [LDMS_CMD_STREAM_UNSUB] =, /* stream subscribe request */ -// -// [LDMS_CMD_REPLY = 0x100] =, [LDMS_CMD_DIR_REPLY] = LDMS_THRSTAT_OP_DIR_REPLY , -// [LDMS_CMD_DIR_CANCEL_REPLY] =, [LDMS_CMD_DIR_UPDATE_REPLY] = LDMS_THRSTAT_OP_UPDATE_REPLY , [LDMS_CMD_LOOKUP_REPLY] = LDMS_THRSTAT_OP_LOOKUP_REPLY , -// [LDMS_CMD_REQ_NOTIFY_REPLY] =, [LDMS_CMD_AUTH_CHALLENGE_REPLY] = LDMS_THRSTAT_OP_AUTH , [LDMS_CMD_AUTH_APPROVAL_REPLY] = LDMS_THRSTAT_OP_AUTH , -// [LDMS_CMD_PUSH_REPLY] =, [LDMS_CMD_AUTH_REPLY] = LDMS_THRSTAT_OP_AUTH , -// [LDMS_CMD_SET_DELETE_REPLY] =, -// -// /* stream replies */ -// [LDMS_CMD_STREAM_SUB_REPLY] =, /* stream subscribe reply (result) */ -// [LDMS_CMD_STREAM_UNSUB_REPLY] =, /* stream subscribe reply (result) */ }; char *ldms_thrstat_op_str_tbl[] = {