session: fix build when debugging is on

Change-Id: I193832a0cd0557fffc034a1223f67fa64a4d45ae
Signed-off-by: Florin Coras <fcoras@cisco.com>
This commit is contained in:
Florin Coras
2017-10-16 20:47:56 -07:00
parent 3cbc04bea0
commit ec44e34bfe
3 changed files with 3 additions and 3 deletions

View File

@ -490,7 +490,7 @@ session_enqueue_notify (stream_session_t * s, u8 block)
/* *INDENT-OFF* */
SESSION_EVT_DBG(SESSION_EVT_ENQ, s, ({
ed->data[0] = evt.event_id;
ed->data[0] = evt.event_type;
ed->data[1] = svm_fifo_max_dequeue (s->server_rx_fifo);
}));
/* *INDENT-ON* */

View File

@ -45,7 +45,7 @@ typedef enum _session_evt_dbg
u32 data[_size]; \
} * ed; \
transport_proto_vft_t *vft = \
session_get_transport_vft (_s->session_type); \
transport_protocol_get_vft (_s->session_type); \
transport_connection_t *_tc = \
vft->get_connection (_s->connection_index, _s->thread_index); \
ed = ELOG_TRACK_DATA (&vlib_global_main.elog_main, \

View File

@ -319,7 +319,7 @@ session_tx_fifo_read_and_snd_i (vlib_main_t * vm, vlib_node_runtime_t * node,
/* *INDENT-OFF* */
SESSION_EVT_DBG(SESSION_EVT_DEQ, s0, ({
ed->data[0] = e0->event_id;
ed->data[0] = e0->event_type;
ed->data[1] = max_dequeue0;
ed->data[2] = len_to_deq0;
ed->data[3] = left_to_snd0;