mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
rxrpc: Add a tracepoint for the call timer
Add a tracepoint to log call timer initiation, setting and expiry. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
parent
b86e218e0d
commit
fc7ab6d29a
6 changed files with 65 additions and 7 deletions
|
@ -76,8 +76,10 @@ static void rxrpc_call_timer_expired(unsigned long _call)
|
|||
|
||||
_enter("%d", call->debug_id);
|
||||
|
||||
if (call->state < RXRPC_CALL_COMPLETE)
|
||||
if (call->state < RXRPC_CALL_COMPLETE) {
|
||||
trace_rxrpc_timer(call, rxrpc_timer_expired, jiffies);
|
||||
rxrpc_queue_call(call);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -200,7 +202,7 @@ static void rxrpc_start_call_timer(struct rxrpc_call *call)
|
|||
call->ack_at = expire_at;
|
||||
call->resend_at = expire_at;
|
||||
call->timer.expires = expire_at + 1;
|
||||
rxrpc_set_timer(call);
|
||||
rxrpc_set_timer(call, rxrpc_timer_begin);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue