aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/tw_timer_template.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/vppinfra/tw_timer_template.c b/src/vppinfra/tw_timer_template.c
index aba00142051..abad3718b6f 100644
--- a/src/vppinfra/tw_timer_template.c
+++ b/src/vppinfra/tw_timer_template.c
@@ -572,7 +572,8 @@ static inline
{
vec_add1 (callback_vector, t->user_handle);
#if TW_START_STOP_TRACE_SIZE > 0
- TW (tw_timer_trace) (tw, 0xfe, ~0, t - tw->timers);
+ TW (tw_timer_trace) (tw, 0xfe, t->user_handle,
+ t - tw->timers);
#endif
pool_put (tw->timers, t);
}
@@ -635,7 +636,8 @@ static inline
{
vec_add1 (callback_vector, t->user_handle);
#if TW_START_STOP_TRACE_SIZE > 0
- TW (tw_timer_trace) (tw, 0xfe, ~0, t - tw->timers);
+ TW (tw_timer_trace) (tw, 0xfe, t->user_handle,
+ t - tw->timers);
#endif
pool_put (tw->timers, t);
}
@@ -689,7 +691,8 @@ static inline
{
vec_add1 (callback_vector, t->user_handle);
#if TW_START_STOP_TRACE_SIZE > 0
- TW (tw_timer_trace) (tw, 0xfe, ~0, t - tw->timers);
+ TW (tw_timer_trace) (tw, 0xfe, t->user_handle,
+ t - tw->timers);
#endif
pool_put (tw->timers, t);
}
@@ -725,7 +728,7 @@ static inline
next_index = t->next;
vec_add1 (callback_vector, t->user_handle);
#if TW_START_STOP_TRACE_SIZE > 0
- TW (tw_timer_trace) (tw, 0xfe, ~0, t - tw->timers);
+ TW (tw_timer_trace) (tw, 0xfe, t->user_handle, t - tw->timers);
#endif
pool_put (tw->timers, t);
}