diff options
author | 2025-04-21 21:27:50 +0800 | |
---|---|---|
committer | 2025-04-21 14:20:27 -0400 | |
commit | 6bd18dabf1c94653b9a96402544bb980a7ca7ce1 (patch) | |
tree | 08a18c6637ee5a8877c207ca5cadda1ddd5cffdf /scripts/lib/kdoc/kdoc_files.py | |
parent | RDMA/hns: Include hnae3.h in hns_roce_hw_v2.h (diff) | |
download | linux-rng-6bd18dabf1c94653b9a96402544bb980a7ca7ce1.tar.xz linux-rng-6bd18dabf1c94653b9a96402544bb980a7ca7ce1.zip |
RDMA/hns: Add trace for CMDQ dumping
Add trace for CMDQ dumping.
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
| | | ||||| | |
kworker/u512:1-14003 [089] b..1. 50737.238304: hns_cmdq_req: 0000:bd:00.0 cmdq opcode:0x8500, flag:0x1, retval:0x0, data:{0x2,0x0,0x0,0xffff0000,0x32323232,0x0}
kworker/u512:1-14003 [089] b..1. 50737.238316: hns_cmdq_resp: 0000:bd:00.0 cmdq opcode:0x8500, flag:0x2, retval:0x0, data:{0x2,0x0,0x0,0xffff0000,0x32323232,0x0}
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20250421132750.1363348-7-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions