diff options
author | Junxian Huang <huangjunxian6@hisilicon.com> | 2025-04-21 21:27:46 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-04-21 14:20:27 -0400 |
commit | 6c98c86708063af509b82f35bfac9577b61b4a94 (patch) | |
tree | 6d055d6b29a36e7e6c25e9c3fb26767c934f4281 /scripts/gdb/linux/tasks.py | |
parent | 02007e3ddc0790ed5a6a504892d7aa1a917076bc (diff) |
RDMA/hns: Add trace for WQE dumping
Add trace for WQE dumping, including SQ, RQ and SRQ.
Output example:
$ cat /sys/kernel/debug/tracing/trace
tracer: nop
entries-in-buffer/entries-written: 2/2 #P:128
_-----=> irqs-off/BH-disabled
/ _----=> need-resched
| / _---=> hardirq/softirq
|| / _--=> preempt-depth
||| / _-=> migrate-disable
|||| / delay
TASK-PID CPU# ||||| TIMESTAMP FUNCTION
| | | ||||| | |
roce_test_main-22730 [074] d..1. 16133.898282: hns_sq_wqe: SQ 0xc wqe
(0x0/0xffff0820a6076060): {0x180,0x639c,0x0,0x1000000,0x0,0x0,0x0,0x0,
0x639c,0x300,0xf7e38000,0x0,0x0,0x0,0x0,0x0}
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20250421132750.1363348-3-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions