rpcrdma.h (82ffd0454bd9bd57780966d47bfd56d579dd4fb3) | rpcrdma.h (0c77668ddb4e7bdfbca462c6185d154d0b8889ae) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (c) 2017, 2018 Oracle. All rights reserved. 4 * 5 * Trace point definitions for the "rpcrdma" subsystem. 6 */ 7#undef TRACE_SYSTEM 8#define TRACE_SYSTEM rpcrdma --- 507 unchanged lines hidden (view full) --- 516 const struct rpcrdma_req *req, 517 int status 518 ), 519 520 TP_ARGS(req, status), 521 522 TP_STRUCT__entry( 523 __field(const void *, req) | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (c) 2017, 2018 Oracle. All rights reserved. 4 * 5 * Trace point definitions for the "rpcrdma" subsystem. 6 */ 7#undef TRACE_SYSTEM 8#define TRACE_SYSTEM rpcrdma --- 507 unchanged lines hidden (view full) --- 516 const struct rpcrdma_req *req, 517 int status 518 ), 519 520 TP_ARGS(req, status), 521 522 TP_STRUCT__entry( 523 __field(const void *, req) |
524 __field(unsigned int, task_id) 525 __field(unsigned int, client_id) |
|
524 __field(int, num_sge) 525 __field(int, signaled) 526 __field(int, status) 527 ), 528 529 TP_fast_assign( | 526 __field(int, num_sge) 527 __field(int, signaled) 528 __field(int, status) 529 ), 530 531 TP_fast_assign( |
532 const struct rpc_rqst *rqst = &req->rl_slot; 533 534 __entry->task_id = rqst->rq_task->tk_pid; 535 __entry->client_id = rqst->rq_task->tk_client->cl_clid; |
|
530 __entry->req = req; 531 __entry->num_sge = req->rl_sendctx->sc_wr.num_sge; 532 __entry->signaled = req->rl_sendctx->sc_wr.send_flags & 533 IB_SEND_SIGNALED; 534 __entry->status = status; 535 ), 536 | 536 __entry->req = req; 537 __entry->num_sge = req->rl_sendctx->sc_wr.num_sge; 538 __entry->signaled = req->rl_sendctx->sc_wr.send_flags & 539 IB_SEND_SIGNALED; 540 __entry->status = status; 541 ), 542 |
537 TP_printk("req=%p, %d SGEs%s, status=%d", | 543 TP_printk("task:%u@%u req=%p (%d SGE%s) %sstatus=%d", 544 __entry->task_id, __entry->client_id, |
538 __entry->req, __entry->num_sge, | 545 __entry->req, __entry->num_sge, |
539 (__entry->signaled ? ", signaled" : ""), | 546 (__entry->num_sge == 1 ? "" : "s"), 547 (__entry->signaled ? "signaled " : ""), |
540 __entry->status 541 ) 542); 543 544TRACE_EVENT(xprtrdma_post_recv, 545 TP_PROTO( 546 const struct ib_cqe *cqe 547 ), --- 1131 unchanged lines hidden --- | 548 __entry->status 549 ) 550); 551 552TRACE_EVENT(xprtrdma_post_recv, 553 TP_PROTO( 554 const struct ib_cqe *cqe 555 ), --- 1131 unchanged lines hidden --- |