aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHao Chen <chenhao288@hisilicon.com>2021-05-20 10:21:32 +0800
committerDavid S. Miller <davem@davemloft.net>2021-05-20 15:01:03 -0700
commitd2f737cf21b87d4239987da69a3b14730c6a57ad (patch)
treecf33affa9c94c396dbf4968ea9780e0a142ac4e3 /tools/perf/scripts/python
parentnet: hns3: refactor dump reg dcb info of debugfs (diff)
downloadlinux-d2f737cf21b87d4239987da69a3b14730c6a57ad.tar.gz
linux-d2f737cf21b87d4239987da69a3b14730c6a57ad.zip
net: hns3: refactor queue map of debugfs
Currently, the debugfs command for queue map is implemented by "echo xxxx > cmd", and record the information in dmesg. It's unnecessary and heavy. To improve it, create a single file "queue_map" for it, and query it by command "cat queue_map", return the result to userspace, rather than record in dmesg. The display style is below: $ cat queue_map local_queue_id global_queue_id vector_id 0 0 341 Signed-off-by: Hao Chen <chenhao288@hisilicon.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions