Commit 1bc73715 authored by Caitlin Ross's avatar Caitlin Ross

correcting arguments in event tracing functions

parent eacc20a4
......@@ -1563,7 +1563,7 @@ static void nw_add_lp_type()
* can have a different function for rbev_trace_f and ev_trace_f
* but right now it is set to the same function for both
*/
void nw_lp_event_collect(nw_message *m, tw_lp *lp, char *buffer)
void nw_lp_event_collect(nw_message *m, tw_lp *lp, char *buffer, int *collect_flag)
{
int type = m->msg_type;
memcpy(buffer, &type, sizeof(type));
......
......@@ -110,7 +110,7 @@ tw_lptype svr_lp = {
* can have a different function for rbev_trace_f and ev_trace_f
* but right now it is set to the same function for both
*/
void svr_event_collect(svr_msg *m, tw_lp *lp, char *buffer)
void svr_event_collect(svr_msg *m, tw_lp *lp, char *buffer, int *collect_flag)
{
int type = (int) m->svr_event_type;
memcpy(buffer, &type, sizeof(type));
......
......@@ -3265,7 +3265,7 @@ tw_lptype dragonfly_lps[] =
};
/* For ROSS event tracing */
void dragonfly_event_collect(terminal_message *m, tw_lp *lp, char *buffer)
void dragonfly_event_collect(terminal_message *m, tw_lp *lp, char *buffer, int *collect_flag)
{
int type = (int) m->type;
memcpy(buffer, &type, sizeof(type));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment