Commit ded84672 authored by Trond Myklebust's avatar Trond Myklebust Committed by popcornmix
Browse files

SUNRPC: Don't allocate a full sockaddr_storage for tracing



commit db1bb44c upstream.

We're always tracing IPv4 or IPv6 addresses, so we can save a lot
of space on the ringbuffer by allocating the correct sockaddr size.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
Fixes: 83a712e0 "sunrpc: add some tracepoints around ..."
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 76772819
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment