mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
rxrpc: Use a tracepoint for skb accounting debugging
Use a tracepoint to log various skb accounting points to help in debugging refcounting errors. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
parent
01a90a4598
commit
df844fd46b
10 changed files with 135 additions and 38 deletions
|
@ -93,6 +93,7 @@ void rxrpc_process_local_events(struct rxrpc_local *local)
|
|||
if (skb) {
|
||||
struct rxrpc_skb_priv *sp = rxrpc_skb(skb);
|
||||
|
||||
rxrpc_see_skb(skb);
|
||||
_debug("{%d},{%u}", local->debug_id, sp->hdr.type);
|
||||
|
||||
switch (sp->hdr.type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue