summaryrefslogtreecommitdiffstats
path: root/src/svm/message_queue.h
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-12-02 16:44:42 +0100
committerFlorin Coras <florin.coras@gmail.com>2019-12-11 16:46:51 +0000
commitcfdb109180cb01c17f92a465f925c244259ba06b (patch)
treeb4bf1ea473a74f5da041ec05d4a2366d9812a155 /src/svm/message_queue.h
parentc00f480ba080847417b4ecb41118d5079f9860c7 (diff)
session: Add mq debug cli
Type: feature This add a `show app message queue` cli command that shows mq size per app & thread. Change-Id: I5c6ce024b149fb7a47d899bc514c5a4887429982 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/svm/message_queue.h')
-rw-r--r--src/svm/message_queue.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/svm/message_queue.h b/src/svm/message_queue.h
index 7226560124f..37293fc29d1 100644
--- a/src/svm/message_queue.h
+++ b/src/svm/message_queue.h
@@ -247,6 +247,12 @@ int svm_msg_q_alloc_consumer_eventfd (svm_msg_q_t * mq);
*/
int svm_msg_q_alloc_producer_eventfd (svm_msg_q_t * mq);
+
+/**
+ * Format message queue, shows msg count for each ring
+ */
+u8 *format_svm_msg_q (u8 * s, va_list * args);
+
/**
* Check if message queue is full
*/