File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -416,6 +416,7 @@ DEFINE_RXPRT_EVENT(xprtrdma_remove);
416
416
DEFINE_RXPRT_EVENT (xprtrdma_reinsert );
417
417
DEFINE_RXPRT_EVENT (xprtrdma_op_inject_dsc );
418
418
DEFINE_RXPRT_EVENT (xprtrdma_op_close );
419
+ DEFINE_RXPRT_EVENT (xprtrdma_op_setport );
419
420
420
421
TRACE_EVENT (xprtrdma_op_connect ,
421
422
TP_PROTO (
Original file line number Diff line number Diff line change @@ -441,12 +441,6 @@ xprt_rdma_set_port(struct rpc_xprt *xprt, u16 port)
441
441
struct sockaddr * sap = (struct sockaddr * )& xprt -> addr ;
442
442
char buf [8 ];
443
443
444
- dprintk ("RPC: %s: setting port for xprt %p (%s:%s) to %u\n" ,
445
- __func__ , xprt ,
446
- xprt -> address_strings [RPC_DISPLAY_ADDR ],
447
- xprt -> address_strings [RPC_DISPLAY_PORT ],
448
- port );
449
-
450
444
rpc_set_port (sap , port );
451
445
452
446
kfree (xprt -> address_strings [RPC_DISPLAY_PORT ]);
@@ -456,6 +450,9 @@ xprt_rdma_set_port(struct rpc_xprt *xprt, u16 port)
456
450
kfree (xprt -> address_strings [RPC_DISPLAY_HEX_PORT ]);
457
451
snprintf (buf , sizeof (buf ), "%4hx" , port );
458
452
xprt -> address_strings [RPC_DISPLAY_HEX_PORT ] = kstrdup (buf , GFP_KERNEL );
453
+
454
+ trace_xprtrdma_op_setport (container_of (xprt , struct rpcrdma_xprt ,
455
+ rx_xprt ));
459
456
}
460
457
461
458
/**
You can’t perform that action at this time.
0 commit comments