SUNRPC: Don't allocate a full sockaddr_storage for tracing
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 24 Jun 2016 14:55:44 +0000 (10:55 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Jul 2016 20:28:44 +0000 (16:28 -0400)
commitdb1bb44c4c7e8d49ed674dc59e5222d99c698088
tree0c008eb896f5386ba8710605858a03b05e159022
parent6343a2120862f7023006c8091ad95c1f16a32077
SUNRPC: Don't allocate a full sockaddr_storage for tracing

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: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org
Fixes: 83a712e0afef "sunrpc: add some tracepoints around ..."
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/trace/events/sunrpc.h