Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6e717cb authored by Chuck Lever's avatar Chuck Lever Committed by J. Bruce Fields
Browse files

xprtrdma: Prepare RPC/RDMA includes for server-side trace points



Clean up: Move #include <trace/events/rpcrdma.h> into source files,
similar to how it is done with trace/events/sunrpc.h.

Server-side trace points will be part of the rpcrdma subsystem,
just like the client-side trace points.

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 8dafcbee
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
#include <linux/sunrpc/svc_xprt.h>

#include "xprt_rdma.h"
#include <trace/events/rpcrdma.h>

#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
# define RPCDBG_FACILITY	RPCDBG_TRANS
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
 */

#include "xprt_rdma.h"
#include <trace/events/rpcrdma.h>

#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
# define RPCDBG_FACILITY	RPCDBG_TRANS
+1 −0
Original line number Diff line number Diff line
@@ -73,6 +73,7 @@
#include <linux/sunrpc/rpc_rdma.h>

#include "xprt_rdma.h"
#include <trace/events/rpcrdma.h>

#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
# define RPCDBG_FACILITY	RPCDBG_TRANS
+3 −1
Original line number Diff line number Diff line
@@ -13,9 +13,11 @@

#include <asm/swab.h>

#define CREATE_TRACE_POINTS
#include "xprt_rdma.h"

#define CREATE_TRACE_POINTS
#include <trace/events/rpcrdma.h>

MODULE_AUTHOR("Open Grid Computing and Network Appliance, Inc.");
MODULE_DESCRIPTION("RPC/RDMA Transport");
MODULE_LICENSE("Dual BSD/GPL");
+3 −2
Original line number Diff line number Diff line
@@ -46,10 +46,11 @@
 * to the Linux RPC framework lives.
 */

#include "xprt_rdma.h"

#include <linux/highmem.h>

#include "xprt_rdma.h"
#include <trace/events/rpcrdma.h>

#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
# define RPCDBG_FACILITY	RPCDBG_TRANS
#endif
Loading